Fast CDR  Version 2.2.6
Fast CDR
Loading...
Searching...
No Matches
LockedExternalAccessException Class Reference

This class is thrown as an exception when accessing to set the value of a locked external. More...

#include <LockedExternalAccessException.hpp>

Inheritance diagram for LockedExternalAccessException:

Public Member Functions

 LockedExternalAccessException (const char *const &message) noexcept
 Default constructor.
 
 LockedExternalAccessException (const LockedExternalAccessException &ex) noexcept
 Default copy constructor.
 
 LockedExternalAccessException (LockedExternalAccessException &&ex) noexcept
 Default move constructor.
 
LockedExternalAccessExceptionoperator= (const LockedExternalAccessException &ex) noexcept
 Assigment operation.
 
LockedExternalAccessExceptionoperator= (LockedExternalAccessException &&ex) noexcept
 Assigment operation.
 
virtual ~LockedExternalAccessException () noexcept
 Default destructor.
 
void raise () const override
 This function throws the object as exception.
 
- Public Member Functions inherited from Exception
virtual ~Exception () noexcept
 Default destructor.
 
virtual const char * what () const noexcept override
 This function returns the error message.
 

Static Public Attributes

static const char *const LOCKED_EXTERNAL_ACCESS_MESSAGE_DEFAULT
 Default message used in the library.
 

Additional Inherited Members

- Protected Member Functions inherited from Exception
 Exception (const char *const &message) noexcept
 Default constructor.
 
 Exception (const Exception &ex) noexcept
 Default copy constructor.
 
 Exception (Exception &&ex) noexcept
 Default move constructor.
 
Exceptionoperator= (const Exception &ex) noexcept
 Assigment operation.
 
Exceptionoperator= (Exception &&ex) noexcept
 Assigment operation.
 

Detailed Description

This class is thrown as an exception when accessing to set the value of a locked external.

Constructor & Destructor Documentation

◆ LockedExternalAccessException() [1/3]

LockedExternalAccessException ( const char *const &  message)
noexcept

Default constructor.

Parameters
messageAn error message. This message pointer is copied.

◆ LockedExternalAccessException() [2/3]

Default copy constructor.

Parameters
exLockedExternalAccessException that will be copied.

◆ LockedExternalAccessException() [3/3]

Default move constructor.

Parameters
exLockedExternalAccessException that will be moved.

◆ ~LockedExternalAccessException()

virtual ~LockedExternalAccessException ( )
virtualnoexcept

Default destructor.

Member Function Documentation

◆ operator=() [1/2]

LockedExternalAccessException & operator= ( const LockedExternalAccessException ex)
noexcept

Assigment operation.

Parameters
exLockedExternalAccessException that will be copied.

◆ operator=() [2/2]

Assigment operation.

Parameters
exLockedExternalAccessException that will be moved.

◆ raise()

void raise ( ) const
overridevirtual

This function throws the object as exception.

Implements Exception.

Member Data Documentation

◆ LOCKED_EXTERNAL_ACCESS_MESSAGE_DEFAULT

const char* const LOCKED_EXTERNAL_ACCESS_MESSAGE_DEFAULT
static

Default message used in the library.


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