Definition of a base exception for the entire Ocean framework.
More...
Definition of a base exception for the entire Ocean framework.
◆ OceanException() [1/5]
Ocean::OceanException::OceanException |
( |
| ) |
|
|
default |
◆ OceanException() [2/5]
Move constructor.
- Parameters
-
exception | The exception to be moved |
◆ OceanException() [3/5]
Ocean::OceanException::OceanException |
( |
const OceanException & |
exception | ) |
|
|
noexcept |
Copy constructor.
- Parameters
-
exception | The exception to be copied |
◆ OceanException() [4/5]
Ocean::OceanException::OceanException |
( |
const char * |
message | ) |
|
|
explicit |
◆ OceanException() [5/5]
Ocean::OceanException::OceanException |
( |
const std::string & |
message | ) |
|
|
explicit |
◆ ~OceanException()
Ocean::OceanException::~OceanException |
( |
| ) |
|
|
override |
Destructs an exception object.
◆ operator=() [1/2]
Copy operator.
- Parameters
-
exception | The exception to be moved |
- Returns
- Reference to this object
◆ operator=() [2/2]
Move operator.
- Parameters
-
exception | The exception to be moved |
- Returns
- Reference to this object
◆ release()
void Ocean::OceanException::release |
( |
| ) |
|
|
private |
Releases the exception and all resources.
◆ setMessage()
void Ocean::OceanException::setMessage |
( |
const char * |
message | ) |
|
|
private |
Sets a message.
- Parameters
-
message | The message to set, must be valid |
◆ what()
const char* Ocean::OceanException::what |
( |
| ) |
const |
|
overridenoexcept |
Returns the exception message.
- Returns
- Exception message
◆ message_
char* Ocean::OceanException::message_ = nullptr |
|
private |
The documentation for this class was generated from the following file: