1 #ifndef RANDOMEXCEPTION_H_ 2 #define RANDOMEXCEPTION_H_ 36 ret =
"RandomException. Called by: " + this->
where +
".";
54 ret =
"Unknown error";
57 ret =
"No data seeded";
60 ret =
"Default random engine has not implemented this function";
63 ret =
"Internal error";
RandomException(RandomException::ErrorCode errorCode, std::string where)
Definition: RandomException.h:21
Definition: RandomException.h:11
virtual ~RandomException()
Definition: RandomException.h:26
Definition: RandomException.h:6
RandomException(std::string where)
Definition: RandomException.h:16
virtual RandomException::ErrorCode getErrorCode()
Definition: RandomException.h:44
ErrorCode
Definition: RandomException.h:9
Definition: RandomException.h:14
virtual std::string toString() const
Definition: RandomException.h:31
RandomException::ErrorCode errorCode
Definition: RandomException.h:73
virtual std::string getMessage() const
Definition: RandomException.h:27
Definition: RandomException.h:12
Definition: LibCryptoSecException.h:8
std::string where
Definition: LibCryptoSecException.h:23
static std::string errorCode2Message(RandomException::ErrorCode errorCode)
Definition: RandomException.h:48
Definition: RandomException.h:13