PCL
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
pcl::FatalError Class Reference

Errors that cause immediate program termination. More...

#include <Exception.h>

+ Inheritance diagram for pcl::FatalError:

Public Member Functions

 FatalError ()=default
 
 FatalError (const pcl::Exception &x)
 
 FatalError (const pcl::FatalError &)=default
 
 FatalError (const String &message, bool unformatted=false)
 
String Caption () const override
 
- Public Member Functions inherited from pcl::Error
 Error ()=default
 
 Error (const Error &)=default
 
 Error (const String &message, bool unformatted=false)
 
String Message () const override
 
bool ShowUnformatted () 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 ()
 

Detailed Description

FatalError indicates an error situation that cannot be resumed and requires immediate program termination.

Definition at line 329 of file Exception.h.

Constructor & Destructor Documentation

◆ FatalError() [1/4]

pcl::FatalError::FatalError ( )
default

Constructs a FatalError object with an empty message.

◆ FatalError() [2/4]

pcl::FatalError::FatalError ( const String message,
bool  unformatted = false 
)
inline

Constructs a FatalError object.

Parameters
messageThe error message that will be shown for this exception.
unformattedIf true, the specified message will be shown verbatim on the console (when console output is enabled) without inserting any prefixes and captions. This parameter is false by default.

Definition at line 348 of file Exception.h.

◆ FatalError() [3/4]

pcl::FatalError::FatalError ( const pcl::Exception x)
inline

"Promote" any exception to have "fatal consequences".

Definition at line 356 of file Exception.h.

◆ FatalError() [4/4]

pcl::FatalError::FatalError ( const pcl::FatalError )
default

Copy constructor.

Member Function Documentation

◆ Caption()

String pcl::FatalError::Caption ( ) const
inlineoverridevirtual

Returns a caption text suitable to represent the information in this Exception object.

Reimplemented from pcl::Error.

Definition at line 368 of file Exception.h.


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