OTB  9.0.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
 

Detailed Description

Exception for runtime errors in OTB Applications.

Usually thrown with the otbAppLogFATAL macro

Definition at line 51 of file otbWrapperApplication.h.

Constructor & Destructor Documentation

◆ ApplicationException() [1/3]

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

Constructor.

◆ ApplicationException() [2/3]

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

Constructor.

◆ ApplicationException() [3/3]

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

Member Function Documentation

◆ GetNameOfClass()

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

Run-time information.


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