PCL
|
A simple exception with an associated error message. More...
#include <Exception.h>
Public Member Functions | |
Error ()=default | |
Error (const Error &)=default | |
Error (const String &message) | |
String | Caption () const override |
String | Message () const override |
Public Member Functions inherited from pcl::Exception | |
Exception ()=default | |
Exception (const pcl::Exception &)=default | |
virtual | ~Exception () |
virtual String | ExceptionClass () const |
virtual String | FormatInfo () const |
virtual void | Show () const |
PCL_FORCE_INLINE void | ShowOnConsole () const |
Additional Inherited Members | |
Static Public Member Functions inherited from pcl::Exception | |
static void | DisableConsoleOutput (bool disable=true) |
static void | DisableGUIOutput (bool disable=true) |
static void | EnableConsoleOutput (bool=true) |
static void | EnableGUIOutput (bool=true) |
static bool | IsConsoleOutputEnabled () |
static bool | IsGUIOutputEnabled () |
Error is a general exception message very frequently used by PCL classes and functions.
Definition at line 238 of file Exception.h.
|
default |
Constructs an Error object with an empty error message.
|
default |
Copy constructor.
|
inline |
Constructs an Error object with the specified error message.
Definition at line 255 of file Exception.h.
|
inlineoverridevirtual |
Returns a caption text suitable to represent the information in this Exception object.
Reimplemented from pcl::Exception.
Reimplemented in pcl::FatalError.
Definition at line 274 of file Exception.h.
|
inlineoverridevirtual |
Returns descriptive information for this Error object. The default implementation returns the message specified upon construction. A derived class can reimplement this function to provide additional information items such as file names, object identifiers, source code positions, date and time representations, etc.
Reimplemented from pcl::Exception.
Reimplemented in pcl::File::Error, pcl::SourceCodeError, and pcl::ParseError.
Definition at line 267 of file Exception.h.