15.2.4.1. Exception¶
-
class
eprosima::fastrtps::rtps
::
Exception
: public exception¶ This abstract class is used to create exceptions.
Subclassed by eprosima::fastrtps::rtps::security::SecurityException
Public Functions
-
~Exception
()¶ Default destructor.
-
const int32_t &
minor
() const¶ This function returns the number associated with the system exception.
- Return
The number associated with the system exception.
-
void
minor
(const int32_t &minor)¶ This function sets the number that will be associated with the system exception.
- Parameters
minor
: The number that will be associated with the system exception.
-
void
raise
() const = 0¶ This function throws the object as exception.
-
const char *
what
() const¶ This function returns the error message.
- Return
The error message.
-