8 #ifndef META_OCEAN_BASE_EXCEPTION_H
9 #define META_OCEAN_BASE_EXCEPTION_H
70 const char*
what() const noexcept override;
92 void setMessage(const
char* message);
102 char* message_ =
nullptr;
Definition of a base exception for missing implementations.
Definition: Exception.h:136
MissingImplementationException(const char *message)
Creates a new exception for missing implementations.
MissingImplementationException(const std::string &message)
Creates a new exception for missing implementations.
MissingImplementationException()
Creates a new exception for missing implementations.
Definition of a base exception for not implemented code.
Definition: Exception.h:110
NotImplementedException(const std::string &message)
Creates a new exception for not implemented code with a message.
NotImplementedException(const char *message)
Creates a new exception for not implemented code with a message.
NotImplementedException()
Creates a new exception for not implemented code without any message.
Definition of a base exception for not supported functionalities.
Definition: Exception.h:162
NotSupportedException(const std::string &message)
Creates a new exception for not supported functionalities with a message.
NotSupportedException()
Creates a new exception for not supported functionalities without any message.
NotSupportedException(const char *message)
Creates a new exception for not supported functionalities with a message.
Definition of a base exception for the entire Ocean framework.
Definition: Exception.h:29
const char * what() const noexcept override
Returns the exception message.
~OceanException() override
Destructs an exception object.
OceanException(const std::string &message)
Creates a new OceanException object with a message.
OceanException(const OceanException &exception) noexcept
Copy constructor.
OceanException()=default
Creates a new OceanException object without any message.
OceanException(OceanException &&exception) noexcept
Move constructor.
OceanException(const char *message)
Creates a new OceanException object with a message.
Definition of a base exception if an out of memory problem occurs.
Definition: Exception.h:188
OutOfMemoryException(const std::string &message)
Creates a new exception if not enough memory is available with a message.
OutOfMemoryException(const char *message)
Creates a new exception if not enough memory is available with a message.
OutOfMemoryException()
Creates a new exception if not enough memory is available without any message.
std::exception Exception
Definition of the base exception.
Definition: Exception.h:22
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15