Yate
|
Public Types | |
enum | ErrorType { Transact_UnrecognizedPackageType, Transact_IncorrectTransactionPortion, Transact_BadlyStructuredTransaction, Transact_UnassignedTransactionID, Transact_PermissionToReleaseProblem, Transact_ResourceUnavailable, Dialog_UnrecognizedDialoguePortionID, Dialog_BadlyStructuredDialoguePortion, Dialog_MissingDialoguePortion, Dialog_InconsistentDialoguePortion, Dialog_Abnormal, General_UnrecognizedComponentType, General_IncorrectComponentPortion, General_BadlyStructuredCompPortion, General_IncorrectComponentCoding, Invoke_DuplicateInvokeID, Invoke_UnrecognizedOperationCode, Invoke_IncorrectParameter, Invoke_UnrecognizedCorrelationID, Invoke_ResourceLimitation, Invoke_InitiatingRelease, Invoke_LinkedResponseUnexpected, Invoke_UnexpectedLinkedOperation, Result_UnrecognizedInvokeID, Result_UnrecognisedCorrelationID, Result_UnexpectedReturnResult, Result_IncorrectParameter, Error_UnrecognizedInvokeID, Error_UnrecognisedCorrelationID, Error_UnexpectedReturnError, Error_UnrecognisedError, Error_UnexpectedError, Error_IncorrectParameter, Discard, NoError } |
Public Member Functions | |
SS7TCAPError (SS7TCAP::TCAPType tcapType) | |
SS7TCAPError (SS7TCAP::TCAPType tcapType, ErrorType error) | |
~SS7TCAPError () | |
ErrorType | error () |
void | setError (ErrorType error) |
const String | errorName () |
u_int16_t | errorCode () |
Static Public Member Functions | |
static int | errorFromCode (SS7TCAP::TCAPType tcapType, u_int16_t code) |
static u_int16_t | codeFromError (SS7TCAP::TCAPType tcapType, int err) |
Static Public Attributes | |
static const TokenDict | s_errorTypes [] |
SS7TCAPError | ( | SS7TCAP::TCAPType | tcapType | ) |
Constructor
tcapType | TCAP specification user for this error |
SS7TCAPError | ( | SS7TCAP::TCAPType | tcapType, |
ErrorType | error | ||
) |
Constructor
tcapType | TCAP specification used for this error |
error | The error |
~SS7TCAPError | ( | ) |
Destructor
static u_int16_t codeFromError | ( | SS7TCAP::TCAPType | tcapType, |
int | err | ||
) | [static] |
Obtain TCAP specific error value from abstract TCAP error
tcapType | Type of TCAP for which the error is searched |
err | Abstrat TCAP error |
ErrorType error | ( | ) | [inline] |
Get the error
u_int16_t errorCode | ( | ) |
The full value of the error
static int errorFromCode | ( | SS7TCAP::TCAPType | tcapType, |
u_int16_t | code | ||
) | [static] |
Obtain abstract TCAP error from TCAP protocol defined error value
tcapType | Type of TCAP for which the error is searched |
code | TCAP protocol error value |
void setError | ( | ErrorType | error | ) | [inline] |
Set the error
error | Error to set |
const TokenDict s_errorTypes[] [static] |
Dictionary for error types