#include <socketft.h>
Inheritance diagram for Socket::Err:
Definition at line 47 of file socketft.h.
Public Types | |
enum | ErrorType { NOT_IMPLEMENTED, INVALID_ARGUMENT, CANNOT_FLUSH, DATA_INTEGRITY_CHECK_FAILED, INVALID_DATA_FORMAT, IO_ERROR, OTHER_ERROR } |
error types More... | |
Public Member Functions | |
Err (socket_t s, const std::string &operation, int error) | |
socket_t | GetSocket () const |
const std::string & | GetOperation () const |
int | GetErrorCode () const |
const char * | what () const throw () |
const std::string & | GetWhat () const |
void | SetWhat (const std::string &s) |
ErrorType | GetErrorType () const |
void | SetErrorType (ErrorType errorType) |
Protected Attributes | |
std::string | m_operation |
int | m_errorCode |
enum Exception::ErrorType [inherited] |
error types
NOT_IMPLEMENTED | a method is not implemented |
INVALID_ARGUMENT | invalid function argument |
CANNOT_FLUSH | BufferedTransformation received a Flush(true) signal but can't flush buffers. |
DATA_INTEGRITY_CHECK_FAILED | data integerity check (such as CRC or MAC) failed |
INVALID_DATA_FORMAT | received input data that doesn't conform to expected format |
IO_ERROR | error reading from input device or writing to output device |
OTHER_ERROR | some error not belong to any of the above categories |
Definition at line 112 of file cryptlib.h.