#include <XSECCryptoException.hpp>
Public Types | |
enum | XSECCryptoExceptionType { None = 0, MDError = 1, Base64Error = 2, MemoryError = 3, X509Error = 4, DSAError = 5, RSAError = 6, UnknownError = 7 } |
Defines the error type. More... | |
Public Methods | |
XSECCryptoExceptionType | getType (void) |
Get the error type. More... | |
Contructors and Destructors | |
XSECCryptoException (XSECCryptoExceptionType eNum, char *inMsg=NULL) | |
Common constructur. More... | |
XSECCryptoException (XSECCryptoExceptionType eNum, safeBuffer &inMsg) | |
safeBuffer constructor. More... | |
XSECCryptoException (const XSECCryptoException &toCopy) | |
Copy Constructor. More... | |
~XSECCryptoException () | |
Get Methods | |
const char * | getMsg (void) |
Get the message. More... |
This exception class should be used by the Cryptographic providers for reporting errors.
It's a fairly standard exception class, with a type parameter (and associated enumerated type) and a string that can be used to provide more information to the caller.
|
Defines the error type.
Enumerated type that can be looked up by the receiver of the exception to determine what the error was. Can also be used as a lookup into the XSECCryptoExceptionStrings global array for a default error description |
|
Common constructur.
Construct an exception with the given type and (possibly blank) message.
|
|
safeBuffer constructor.
As for the common constructor, but passes in a safeBuffer message
|
|
Copy Constructor.
|
|
|
|
Get the message.
Allows the receiver of the exception to get the error message.
|
|
Get the error type.
|