Value:
{ \
public: \
className() = default; \
className( const className& ) = default; \
{ \
return exceptionClass; \
} \
pcl::String
Message() const override \
{ \
return message; \
} \
}
Root base class for all PCL exception classes.
virtual String ExceptionClass() const
virtual String Message() const
- Parameters
-
className | The identifier of the exception class. |
exceptionClass | The name of the exception class, as presented in formatted representations. |
message | The error message shown for this exception class. |
Use this macro to define and implement exceptions classes that show constant error or warning messages.
In many cases using the Error exception class is preferable to create new exception classes with this macro.
Definition at line 634 of file Exception.h.