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

#include <AsymmetricCipherException.h>

Inheritance diagram for AsymmetricCipherException:
LibCryptoSecException

Public Types

enum  ErrorCode { UNKNOWN, ENCRYPTING_DATA, DECRYPTING_DATA }
 

Public Member Functions

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

Protected Attributes

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

Member Enumeration Documentation

◆ ErrorCode

Enumerator
UNKNOWN 
ENCRYPTING_DATA 
DECRYPTING_DATA 

Constructor & Destructor Documentation

◆ AsymmetricCipherException() [1/2]

AsymmetricCipherException::AsymmetricCipherException ( std::string  where)
inline

◆ AsymmetricCipherException() [2/2]

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

◆ ~AsymmetricCipherException()

virtual AsymmetricCipherException::~AsymmetricCipherException ( )
throw (
)
inlinevirtual

Member Function Documentation

◆ errorCode2Message()

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

◆ getErrorCode()

virtual AsymmetricCipherException::ErrorCode AsymmetricCipherException::getErrorCode ( )
inlinevirtual

◆ getMessage()

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

Implements LibCryptoSecException.

◆ toString()

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

Implements LibCryptoSecException.

Member Data Documentation

◆ errorCode

AsymmetricCipherException::ErrorCode AsymmetricCipherException::errorCode
protected

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