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

Detailed Description

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

Definition at line 295 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)
inline

Constructs a FatalError object with the specified message.

Definition at line 307 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 315 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 327 of file Exception.h.


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