libcryptosec
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
RandomException Class Reference

#include <RandomException.h>

Inheritance diagram for RandomException:
LibCryptoSecException

Public Types

enum  ErrorCode { UNKNOWN, NO_DATA_SEEDED, NO_IMPLEMENTED_FUNCTION, INTERNAL_ERROR }
 

Public Member Functions

 RandomException (std::string where)
 
 RandomException (RandomException::ErrorCode errorCode, std::string where)
 
virtual ~RandomException () throw ()
 
virtual std::string getMessage () const
 
virtual std::string toString () const
 
virtual RandomException::ErrorCode getErrorCode ()
 
- Public Member Functions inherited from LibCryptoSecException
virtual ~LibCryptoSecException () throw ()
 
virtual const char * what () const throw ()
 
virtual const std::string getDetails () const throw ()
 

Static Public Member Functions

static std::string errorCode2Message (RandomException::ErrorCode errorCode)
 

Protected Attributes

RandomException::ErrorCode errorCode
 
- Protected Attributes inherited from LibCryptoSecException
std::string where
 
std::string details
 

Member Enumeration Documentation

◆ ErrorCode

Enumerator
UNKNOWN 
NO_DATA_SEEDED 
NO_IMPLEMENTED_FUNCTION 
INTERNAL_ERROR 

Constructor & Destructor Documentation

◆ RandomException() [1/2]

RandomException::RandomException ( std::string  where)
inline

◆ RandomException() [2/2]

RandomException::RandomException ( RandomException::ErrorCode  errorCode,
std::string  where 
)
inline

◆ ~RandomException()

virtual RandomException::~RandomException ( )
throw (
)
inlinevirtual

Member Function Documentation

◆ errorCode2Message()

static std::string RandomException::errorCode2Message ( RandomException::ErrorCode  errorCode)
inlinestatic

◆ getErrorCode()

virtual RandomException::ErrorCode RandomException::getErrorCode ( )
inlinevirtual

◆ getMessage()

virtual std::string RandomException::getMessage ( ) const
inlinevirtual

Implements LibCryptoSecException.

◆ toString()

virtual std::string RandomException::toString ( ) const
inlinevirtual

Implements LibCryptoSecException.

Member Data Documentation

◆ errorCode

RandomException::ErrorCode RandomException::errorCode
protected

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