Digital Authentication Framework
6.0.1.37
|
Interface for error reporting. More...
#include <DigitalAuthenticationFramework.h>
Public Types | |
enum | { SUCCESS = 0, NO_MEMORY = 1, NOT_PROVISIONED = 2, DEVICE_NOT_FOUND = 3, NO_MORE_SESSIONS = 4, DEVICE_DISCONNECTED = 5, DEVICE_PROTOCOL_ERR = 6, BAD_AUTH_TOKEN = 7, KEY_NOT_FOUND = 8, ATTRIB_NOT_FOUND = 9, MECH_NOT_FOUND = 10, VERIFY_FAILED = 11, NOT_IMPLEMENTED = 12, BAD_PARAMETERS = 13, OS_ERROR = 14, UNSUPPORTED_HASH = 15 } |
Public Member Functions | |
virtual | ~DAError () |
virtual destructor More... | |
virtual int | getCode ()=0 |
get error code More... | |
bool | isError () |
test if error has occurred More... | |
virtual void | clear ()=0 |
reset the current error state. | |
virtual void | getAsStringUTF8 (std::string &errmsg)=0 |
get error as string message. More... | |
Interface for error reporting.
anonymous enum |
|
virtual |
virtual destructor
|
pure virtual |
get error as string message.
Note there is deliberately no success/failure indication for this method.
Implemented in BasicError.
|
pure virtual |
get error code
Implemented in BasicError.
bool DAError::isError | ( | ) |
test if error has occurred