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

#include <BigIntegerException.h>

Inheritance diagram for BigIntegerException:
LibCryptoSecException

Public Types

enum  ErrorCode {
  UNKNOWN = 0, MEMORY_ALLOC = 1, INTERNAL_ERROR = 3, UNSIGNED_LONG_OVERFLOW = 4,
  DIVISION_BY_ZERO = 5
}
 

Public Member Functions

 BigIntegerException (ErrorCode errorCode=UNKNOWN, std::string where="")
 
virtual ~BigIntegerException () throw ()
 
virtual std::string getMessage () const
 
virtual std::string toString () const
 
virtual 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 (ErrorCode errorCode)
 

Protected Attributes

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

Member Enumeration Documentation

◆ ErrorCode

Enumerator
UNKNOWN 
MEMORY_ALLOC 
INTERNAL_ERROR 
UNSIGNED_LONG_OVERFLOW 
DIVISION_BY_ZERO 

Constructor & Destructor Documentation

◆ BigIntegerException()

BigIntegerException::BigIntegerException ( ErrorCode  errorCode = UNKNOWN,
std::string  where = "" 
)
inline

◆ ~BigIntegerException()

virtual BigIntegerException::~BigIntegerException ( )
throw (
)
inlinevirtual

Member Function Documentation

◆ errorCode2Message()

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

◆ getErrorCode()

virtual ErrorCode BigIntegerException::getErrorCode ( )
inlinevirtual

◆ getMessage()

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

Implements LibCryptoSecException.

◆ toString()

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

Implements LibCryptoSecException.

Member Data Documentation

◆ errorCode

ErrorCode BigIntegerException::errorCode
protected

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