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

#include <NetscapeSPKIException.h>

Inheritance diagram for NetscapeSPKIException:
LibCryptoSecException

Public Types

enum  ErrorCode { UNKNOWN, SIGNING_SPKI, INVALID_SPKI, SET_NO_VALUE }
 

Public Member Functions

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

Protected Attributes

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

Member Enumeration Documentation

◆ ErrorCode

Enumerator
UNKNOWN 
SIGNING_SPKI 
INVALID_SPKI 
SET_NO_VALUE 

Constructor & Destructor Documentation

◆ NetscapeSPKIException() [1/2]

NetscapeSPKIException::NetscapeSPKIException ( std::string  where)
inline

◆ NetscapeSPKIException() [2/2]

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

◆ ~NetscapeSPKIException()

virtual NetscapeSPKIException::~NetscapeSPKIException ( )
throw (
)
inlinevirtual

Member Function Documentation

◆ errorCode2Message()

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

◆ getErrorCode()

virtual NetscapeSPKIException::ErrorCode NetscapeSPKIException::getErrorCode ( )
inlinevirtual

◆ getMessage()

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

Implements LibCryptoSecException.

◆ toString()

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

Implements LibCryptoSecException.

Member Data Documentation

◆ errorCode

NetscapeSPKIException::ErrorCode NetscapeSPKIException::errorCode
protected

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