Class LockedExternalAccessException
Defined in File LockedExternalAccessException.hpp
Inheritance Relationships
Base Type
public eprosima::fastcdr::exception::Exception(Class Exception)
Class Documentation
-
class LockedExternalAccessException : public eprosima::fastcdr::exception::Exception
This class is thrown as an exception when accessing to set the value of a locked external.
Public Functions
-
Cdr_DllAPI LockedExternalAccessException(const char *const &message) noexcept
Default constructor.
- Parameters:
message – An error message. This message pointer is copied.
-
Cdr_DllAPI LockedExternalAccessException(const LockedExternalAccessException &ex) noexcept
Default copy constructor.
- Parameters:
ex – LockedExternalAccessException that will be copied.
-
Cdr_DllAPI LockedExternalAccessException(LockedExternalAccessException &&ex) noexcept
Default move constructor.
- Parameters:
ex – LockedExternalAccessException that will be moved.
- Cdr_DllAPI LockedExternalAccessException & operator= (const LockedExternalAccessException &ex) noexcept
Assigment operation.
- Parameters:
ex – LockedExternalAccessException that will be copied.
-
LockedExternalAccessException &operator=(LockedExternalAccessException &&ex) noexcept
Assigment operation.
- Parameters:
ex – LockedExternalAccessException that will be moved.
-
virtual Cdr_DllAPI ~LockedExternalAccessException() noexcept
Default destructor.
- virtual Cdr_DllAPI void raise () const override
This function throws the object as exception.
Public Static Attributes
- static Cdr_DllAPI const char *const LOCKED_EXTERNAL_ACCESS_MESSAGE_DEFAULT
Default message used in the library.
-
Cdr_DllAPI LockedExternalAccessException(const char *const &message) noexcept