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

#include <EngineException.h>

Inheritance diagram for EngineException:
LibCryptoSecException

Public Types

enum  ErrorCode {
  UNKNOWN, INVALID_ENGINE, INIT_FAILED, KEY_NOT_FOUND,
  ADD_ENGINE_TO_LIST, REMOVE_ENGINE_FROM_LIST, DYNAMIC_ENGINE_UNAVAILABLE, INTERNAL_ERROR,
  ENGINE_NOT_FOUND, SET_COMMAND, LOAD_ENGINE_FAILED
}
 

Public Member Functions

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

Protected Attributes

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

Member Enumeration Documentation

◆ ErrorCode

Enumerator
UNKNOWN 
INVALID_ENGINE 
INIT_FAILED 
KEY_NOT_FOUND 
ADD_ENGINE_TO_LIST 
REMOVE_ENGINE_FROM_LIST 
DYNAMIC_ENGINE_UNAVAILABLE 
INTERNAL_ERROR 
ENGINE_NOT_FOUND 
SET_COMMAND 
LOAD_ENGINE_FAILED 

Constructor & Destructor Documentation

◆ EngineException() [1/4]

EngineException::EngineException ( std::string  where)
inline

◆ EngineException() [2/4]

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

◆ EngineException() [3/4]

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

◆ EngineException() [4/4]

EngineException::EngineException ( EngineException::ErrorCode  errorCode,
std::string  where,
bool  opensslDetails 
)
inline

◆ ~EngineException()

virtual EngineException::~EngineException ( )
throw (
)
inlinevirtual

Member Function Documentation

◆ errorCode2Message()

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

◆ getErrorCode()

virtual EngineException::ErrorCode EngineException::getErrorCode ( )
inlinevirtual

◆ getMessage()

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

Implements LibCryptoSecException.

◆ toString()

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

Implements LibCryptoSecException.

Member Data Documentation

◆ errorCode

EngineException::ErrorCode EngineException::errorCode
protected

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