File Exceptions.h
-
namespace OpenVDS
-
class Exception : public std::exception
Subclassed by OpenVDS::MessageBufferException< 16384 >, OpenVDS::MessageBufferException< 512 >, OpenVDS::MessageBufferException< BUFFERSIZE >
-
class FatalException : public OpenVDS::MessageBufferException<16384>
Public Functions
-
inline FatalException(const char *errorMessage)
-
inline FatalException(const FatalException &other)
-
inline FatalException &operator=(const FatalException &other)
-
inline virtual const char *GetErrorMessage() const noexcept override
Private Members
-
const char *m_errorMessage
-
inline FatalException(const char *errorMessage)
-
class IndexOutOfRangeException : public OpenVDS::MessageBufferException<512>
Public Functions
-
inline IndexOutOfRangeException(const char *errorMessage)
-
inline IndexOutOfRangeException(const IndexOutOfRangeException &other)
-
inline IndexOutOfRangeException &operator=(const IndexOutOfRangeException &other)
-
inline virtual const char *GetErrorMessage() const noexcept override
Private Members
-
const char *m_errorMessage
-
inline IndexOutOfRangeException(const char *errorMessage)
-
class InvalidArgument : public OpenVDS::MessageBufferException<512>
Public Functions
-
inline InvalidArgument(const char *errorMessage, const char *parameterName)
-
inline InvalidArgument(const InvalidArgument &other)
-
inline InvalidArgument &operator=(const InvalidArgument &other)
-
inline virtual const char *GetErrorMessage() const noexcept override
-
inline const char *GetParameterName() const noexcept
-
inline InvalidArgument(const char *errorMessage, const char *parameterName)
-
class InvalidOperation : public OpenVDS::MessageBufferException<512>
Public Functions
-
inline InvalidOperation(const char *errorMessage)
-
inline InvalidOperation(const InvalidOperation &other)
-
inline InvalidOperation &operator=(const InvalidOperation &other)
-
inline virtual const char *GetErrorMessage() const noexcept override
Private Members
-
const char *m_errorMessage
-
inline InvalidOperation(const char *errorMessage)
-
template<int BUFFERSIZE>
class MessageBufferException : public OpenVDS::Exception Public Types
Values:
-
enumerator MESSAGE_BUFFER_SIZE
-
enumerator MESSAGE_BUFFER_SIZE
Protected Functions
-
inline MessageBufferException()
-
MessageBufferException(MessageBufferException const&) = delete
-
MessageBufferException &operator=(const MessageBufferException &other) = delete
-
inline const char *AddToBuffer(const char *message)
-
inline void ClearBuffer()
-
class ReadErrorException : public OpenVDS::MessageBufferException<512>
Public Functions
-
inline ReadErrorException(const char *errorMessage, int errorCode)
-
inline ReadErrorException(const ReadErrorException &other)
-
inline ReadErrorException &operator=(const ReadErrorException &other)
-
inline virtual const char *GetErrorMessage() const noexcept override
-
inline int GetErrorCode() const noexcept
-
inline ReadErrorException(const char *errorMessage, int errorCode)
-
class Exception : public std::exception