If a failure code is associated with the exception it can be retrieved using the getFailureCode() method.
| Modifier and Type | Field and Description |
|---|---|
| private int |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the failure code if set, -1 otherwise.Return the failure code associated with this exception - if one is set. |
| failureCode | back to summary |
|---|---|
| private int failureCode | |
| TSPValidationException | back to summary |
|---|---|
| public TSPValidationException(String message) | |
| TSPValidationException | back to summary |
|---|---|
| public TSPValidationException(String message, int failureCode) | |
| getFailureCode | back to summary |
|---|---|
| public int getFailureCode() Return the failure code associated with this exception - if one is set.
| |