TFormerException constructors
Overloads
| Member | Description |
|---|---|
| TFormerException(String) | Constructor with text message. |
| TFormerException(String, String, String, String) | Constructor with all information available from TFORMer SDK. |
| TFormerException(String, Throwable) | Constructor with text message and original exception. |
| TFormerException(String, int) | Constructor with text message and error code. |
TFormerException overload 1 of 4
TFormerException(String sMessage)
Constructor with text message.
Parameters
| Parameter / type | Description |
|---|---|
sMessageString |
Error message text |
TFormerException overload 2 of 4
TFormerException(String code, String description, String information, String sourceReference)
Constructor with all information available from TFORMer SDK.
Parameters
| Parameter / type | Description |
|---|---|
codeString |
Error code in hexadecimal format |
descriptionString |
Description of the error in TFORMer library |
informationString |
Additional information of the error in TFORMer library |
sourceReferenceString |
References of the error in the TFORMer source library |
TFormerException overload 3 of 4
TFormerException(String sMessage, Throwable cause)
Constructor with text message and original exception.
Parameters
| Parameter / type | Description |
|---|---|
sMessageString |
Error message text |
causeThrowable |
Original exception |
TFormerException overload 4 of 4
TFormerException(String sMessage, int nErrorCode)
Constructor with text message and error code.
Parameters
| Parameter / type | Description |
|---|---|
sMessageString |
error message text |
nErrorCodeint |
TFORMer error code |
Deprecated
Use TFormerException(String, String, String, String) instead