OTB  6.7.0
Orfeo Toolbox
Public Member Functions | List of all members
otb::ApplicationException Class Reference

#include <otbWrapperApplication.h>

+ Inheritance diagram for otb::ApplicationException:
+ Collaboration diagram for otb::ApplicationException:

Public Member Functions

 ApplicationException (const char *file, unsigned int line, const char *message="Application error.", const char *loc="Unknown")
 
 ApplicationException (const std::string &file, unsigned int line, const char *message="Application error.", const char *loc="Unknown")
 
 ApplicationException (const std::string &file, unsigned int line, const std::string &message="Application error.", const std::string &loc="Unknown")
 
virtual const char * GetNameOfClass () const
 
- Public Member Functions inherited from itk::ExceptionObject
 ExceptionObject ()
 
 ExceptionObject (const char *file, unsigned int lineNumber=0, const char *desc="None", const char *loc="Unknown")
 
 ExceptionObject (const std::string &file, unsigned int lineNumber=0, const std::string &desc="None", const std::string &loc="Unknown")
 
 ExceptionObject (const ExceptionObject &orig)
 
virtual const char * GetDescription () const
 
virtual const char * GetFile () const
 
virtual unsigned int GetLine () const
 
virtual const char * GetLocation () const
 
ExceptionObjectoperator= (const ExceptionObject &orig)
 
virtual bool operator== (const ExceptionObject &orig)
 
virtual void Print (std::ostream &os) const
 
virtual void SetDescription (const std::string &s)
 
virtual void SetDescription (const char *s)
 
virtual void SetLocation (const char *s)
 
virtual void SetLocation (const std::string &s)
 
virtual const char * what () const noexceptoverride
 
virtual ~ExceptionObject () noexcept
 

Additional Inherited Members

- Public Types inherited from itk::ExceptionObject
typedef std::exception Superclass
 

Detailed Description

Exception for runtime errors in OTB Applications.

Usually thrown with the otbAppLogFATAL macro

Definition at line 50 of file otbWrapperApplication.h.

Constructor & Destructor Documentation

otb::ApplicationException::ApplicationException ( const char *  file,
unsigned int  line,
const char *  message = "Application error.",
const char *  loc = "Unknown" 
)

Constructor.

otb::ApplicationException::ApplicationException ( const std::string &  file,
unsigned int  line,
const char *  message = "Application error.",
const char *  loc = "Unknown" 
)

Constructor.

otb::ApplicationException::ApplicationException ( const std::string &  file,
unsigned int  line,
const std::string &  message = "Application error.",
const std::string &  loc = "Unknown" 
)

Member Function Documentation

virtual const char* otb::ApplicationException::GetNameOfClass ( ) const
virtual

Run-time information.

Reimplemented from itk::ExceptionObject.


The documentation for this class was generated from the following file: