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

#include <AsymmetricKeyException.h>

Inheritance diagram for AsymmetricKeyException:
LibCryptoSecException

Public Types

enum  ErrorCode {
  UNKNOWN, SET_NO_VALUE, INVALID_TYPE, INTERNAL_ERROR,
  UNAVAILABLE_KEY, INVALID_ASYMMETRIC_KEY
}
 

Public Member Functions

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

Protected Attributes

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

Member Enumeration Documentation

◆ ErrorCode

Enumerator
UNKNOWN 
SET_NO_VALUE 
INVALID_TYPE 
INTERNAL_ERROR 
UNAVAILABLE_KEY 
INVALID_ASYMMETRIC_KEY 

Constructor & Destructor Documentation

◆ AsymmetricKeyException() [1/3]

AsymmetricKeyException::AsymmetricKeyException ( std::string  where)
inline

◆ AsymmetricKeyException() [2/3]

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

◆ AsymmetricKeyException() [3/3]

AsymmetricKeyException::AsymmetricKeyException ( AsymmetricKeyException::ErrorCode  errorCode,
std::string  details,
std::string  where 
)
inline

◆ ~AsymmetricKeyException()

virtual AsymmetricKeyException::~AsymmetricKeyException ( )
throw (
)
inlinevirtual

Member Function Documentation

◆ errorCode2Message()

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

◆ getErrorCode()

virtual AsymmetricKeyException::ErrorCode AsymmetricKeyException::getErrorCode ( )
inlinevirtual

◆ getMessage()

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

Implements LibCryptoSecException.

◆ toString()

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

Implements LibCryptoSecException.

Member Data Documentation

◆ errorCode

AsymmetricKeyException::ErrorCode AsymmetricKeyException::errorCode
protected

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