Fault Methods |
The Fault type exposes the following members.
| Name | Description | |
|---|---|---|
| ErrorCodeEnumToMessage |
Get corresponding message for the error code from the TypeText.resx ressource file.
The format of the ressource string name is: ErrorCodeEnum + ErrorCodeEnum.Value. Example: "ErrorCodeEnum.InvalidRentalObjectNo".
| |
| ExtractPossibleErrorCode |
Extract a possible ErrorCodeEnum value from the exception.
The are 5 possible generic exception types where the exception is derived
from FaultExceptionTDetail and the TDetail contains an error code field
and they are:
FaultExceptionTDetailFaultExceptionTDetailFaultExceptionTDetailFaultExceptionTDetailFaultExceptionTDetail
If the exception is not derived from one the above listed types then Error is returned.
| |
| ToString |
Override ToString to include the unique id in exceptions dumps.
(Overrides ObjectToString.) |