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

#include <SecretSharerException.h>

Inheritance diagram for SecretSharerException:
LibCryptoSecException

Public Types

enum  ErrorCode { UNKNOWN, INTERNAL_ERROR, INVALID_THRESHOLD_VALUE, INVALID_PARTS_VALUE }
 

Public Member Functions

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

Protected Attributes

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

Member Enumeration Documentation

◆ ErrorCode

Enumerator
UNKNOWN 
INTERNAL_ERROR 
INVALID_THRESHOLD_VALUE 
INVALID_PARTS_VALUE 

Constructor & Destructor Documentation

◆ SecretSharerException() [1/2]

SecretSharerException::SecretSharerException ( std::string  where)
inline

◆ SecretSharerException() [2/2]

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

◆ ~SecretSharerException()

virtual SecretSharerException::~SecretSharerException ( )
throw (
)
inlinevirtual

Member Function Documentation

◆ errorCode2Message()

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

◆ getErrorCode()

virtual SecretSharerException::ErrorCode SecretSharerException::getErrorCode ( )
inlinevirtual

◆ getMessage()

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

Implements LibCryptoSecException.

◆ toString()

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

Implements LibCryptoSecException.

Member Data Documentation

◆ errorCode

SecretSharerException::ErrorCode SecretSharerException::errorCode
protected

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