1 #ifndef BIGINTEGEREXCEPTION_H_ 2 #define BIGINTEGEREXCEPTION_H_ 4 #include <openssl/err.h> 36 ret =
"BigIntegerException. Called by: " + this->
where +
".";
56 ret =
"Unknown error";
59 ret =
"Memory allocation error";
62 ret =
"OpenSSL BIGNUM operation internal error";
65 ret =
"Big Integer can not be represented as unsigned long";
68 ret =
"Division by zero";
ErrorCode errorCode
Definition: BigIntegerException.h:76
Definition: BigIntegerException.h:16
Definition: BigIntegerException.h:13
virtual ~BigIntegerException()
Definition: BigIntegerException.h:24
virtual ErrorCode getErrorCode()
Definition: BigIntegerException.h:45
Definition: BigIntegerException.h:12
ErrorCode
Definition: BigIntegerException.h:10
virtual std::string getMessage() const
Definition: BigIntegerException.h:26
BigIntegerException(ErrorCode errorCode=UNKNOWN, std::string where="")
Definition: BigIntegerException.h:19
Definition: LibCryptoSecException.h:8
std::string where
Definition: LibCryptoSecException.h:23
static std::string errorCode2Message(ErrorCode errorCode)
Definition: BigIntegerException.h:50
Definition: BigIntegerException.h:15
Definition: BigIntegerException.h:7
virtual std::string toString() const
Definition: BigIntegerException.h:31
Definition: BigIntegerException.h:14