|
|
ibi Patterns .NET API
|
Hold and provide access to detailed error information. More...
Public Member Functions |
|
| int | getItemType () |
| Returns the type of the error item, one of NetricsErrorItem.TYPE_*. |
|
| int | getTranId () |
| Obsolete. Use getTransactionId to obtain the full 64-bit id. |
|
| long | getTransactionId () |
| Returns the transaction id. |
|
| String | getDetailsMsg () |
| Return the error details message. |
|
Detailed Description
Hold and provide access to detailed error information.
These objects are generated by NetricsException objects. For known error item types this provides a means of accessing parsed out items from the detailed information. Which information items are available depends on the error item type.
Member Function Documentation
◆ getDetailsMsg()
|
inline |
Return the error details message.
If this error item contains an error details message this returns the message. Otherwise it returns null. This is valid for all error item types.
A detailed error message is returned by many different error cases. The message may be important in helping to debug the cause of an error. When contacting support about an error any detailed error message in the exception should be reported.
◆ getItemType()
|
inline |
Returns the type of the error item, one of NetricsErrorItem.TYPE_*.
The type of the error item will determine which access methods are valid.
◆ getTranId()
|
inline |
Obsolete. Use getTransactionId to obtain the full 64-bit id.
This is valid only for TYPE_TRANID. If this is not a TYPE_TRANID error item an InvalidOperationException is thrown.
◆ getTransactionId()
|
inline |
Returns the transaction id.
This is valid only for TYPE_TRANID. If this is not a TYPE_TRANID error item an InvalidOperationException is thrown.