PCL
pcl::File::Error Class Reference

File I/O exception. More...

#include <File.h>

+ Inheritance diagram for pcl::File::Error:

Public Member Functions

 Error (const Error &)=default
 
 Error (const String &filePath, const String &message)
 
String ExceptionClass () const override
 
virtual String FilePath () const
 
String Message () const override
 
- Public Member Functions inherited from pcl::Error
 Error ()=default
 
 Error (const Error &)=default
 
 Error (const String &message)
 
String Caption () const override
 
- Public Member Functions inherited from pcl::Exception
 Exception ()=default
 
 Exception (const pcl::Exception &)=default
 
virtual ~Exception ()
 
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

Definition at line 362 of file File.h.

Constructor & Destructor Documentation

◆ Error() [1/2]

pcl::File::Error::Error ( const String filePath,
const String message 
)
inline

Constructs a File::Error object with the specified full file path and error message.

Definition at line 370 of file File.h.

◆ Error() [2/2]

pcl::File::Error::Error ( const Error )
default

Copy constructor.

Member Function Documentation

◆ ExceptionClass()

String pcl::File::Error::ExceptionClass ( ) const
inlineoverridevirtual

Returns an error class for this exception.

Reimplemented from pcl::Exception.

Definition at line 383 of file File.h.

◆ FilePath()

virtual String pcl::File::Error::FilePath ( ) const
inlinevirtual

Returns the full file path associated to this file error.

Definition at line 391 of file File.h.

◆ Message()

String pcl::File::Error::Message ( ) const
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::Error.

Definition at line 405 of file File.h.

References pcl::GenericString< T, R, A >::IsEmpty().


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