pcl::File::Error Class Reference

File I/O exception. More...

#include <File.h>

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

Public Member Functions

 Error (const String &filePath, const String &message)
 Error (const Error &)=default
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

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 515 of file File.h.

Constructor & Destructor Documentation

◆ Error() [1/2]

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

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

Definition at line 523 of file File.h.

◆ Error() [2/2]

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

Copy constructor.

Member Function Documentation

◆ ExceptionClass()

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

Returns an error class for this exception.

Reimplemented from pcl::Exception.

Definition at line 536 of file File.h.

◆ FilePath()

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

Returns the full file path associated to this file error.

Definition at line 544 of file File.h.

◆ Message()

String pcl::File::Error::Message ( ) const

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 558 of file File.h.

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

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