pjmsg_mcap_wrapper
|
This class is thrown as an exception when accessing to set the value of a locked external.
Definition at line 27 of file LockedExternalAccessException.hpp.
#include <LockedExternalAccessException.hpp>
Public Member Functions | |
Cdr_DllAPI | LockedExternalAccessException (const char *const &message) noexcept |
Default constructor. | |
Cdr_DllAPI | LockedExternalAccessException (const LockedExternalAccessException &ex) noexcept |
Default copy constructor. | |
Cdr_DllAPI | LockedExternalAccessException (LockedExternalAccessException &&ex) noexcept |
Default move constructor. | |
Cdr_DllAPI LockedExternalAccessException & | operator= (const LockedExternalAccessException &ex) noexcept |
Assigment operation. | |
LockedExternalAccessException & | operator= (LockedExternalAccessException &&ex) noexcept |
Assigment operation. | |
virtual Cdr_DllAPI | ~LockedExternalAccessException () noexcept |
Default destructor. | |
Cdr_DllAPI void | raise () const override |
This function throws the object as exception. | |
virtual Cdr_DllAPI const char * | what () const noexcept override |
This function returns the error message. | |
T | what (T... args) |
Static Public Attributes | |
static Cdr_DllAPI const char *const | LOCKED_EXTERNAL_ACCESS_MESSAGE_DEFAULT |
Default message used in the library. | |
Private Attributes | |
const char * | m_message |
|
noexcept |
Default constructor.
message | An error message. This message pointer is copied. |
Definition at line 22 of file LockedExternalAccessException.cpp.
|
noexcept |
Default copy constructor.
ex | LockedExternalAccessException that will be copied. |
Definition at line 28 of file LockedExternalAccessException.cpp.
|
noexcept |
Default move constructor.
ex | LockedExternalAccessException that will be moved. |
Definition at line 34 of file LockedExternalAccessException.cpp.
|
virtualnoexcept |
Default destructor.
Definition at line 64 of file LockedExternalAccessException.cpp.
|
noexcept |
Assigment operation.
ex | LockedExternalAccessException that will be copied. |
Definition at line 40 of file LockedExternalAccessException.cpp.
|
noexcept |
Assigment operation.
ex | LockedExternalAccessException that will be moved. |
Definition at line 52 of file LockedExternalAccessException.cpp.
|
overridevirtual |
This function throws the object as exception.
Implements eprosima::fastcdr::exception::Exception.
Definition at line 68 of file LockedExternalAccessException.cpp.
|
overridevirtualnoexceptinherited |
This function returns the error message.
Definition at line 55 of file Exception.cpp.
|
static |
Default message used in the library.
Definition at line 78 of file LockedExternalAccessException.hpp.
|
privateinherited |
Definition at line 90 of file Exception.h.