A cryptographic exception. More...
#include <libppbase/base_crypto/CryptoException.h>
Public Types | |
enum | err { errOpenSSL = 1, errRegClient } |
crypto error codes More... | |
Public Member Functions | |
CryptoException (err errcode, const char *fmt=NULL,...) | |
Constructor. | |
long | getErrno () const |
Gets the OpenSSL error number. | |
virtual base::String | toString () const |
Gets a string representation of this exception. | |
Static Public Member Functions | |
static void | finit () |
Unloads the OpenSSL error strings. | |
static void | init () |
Loads the OpenSSL error strings. |
A cryptographic exception.
base_crypto::CryptoException::CryptoException | ( | err | errcode, | |
const char * | fmt = NULL , |
|||
... | ||||
) |
Constructor.
errcode | error code | |
fmt | printf-like format string to take an additional error message | |
... | additional arguments for the format string |
long base_crypto::CryptoException::getErrno | ( | ) | const |
Gets the OpenSSL error number.
virtual base::String base_crypto::CryptoException::toString | ( | ) | const [virtual] |
Gets a string representation of this exception.
Reimplemented from base::Exception.