Class TSPValidationException

All Implemented Interfaces:
Serializable

public class TSPValidationException extends TSPException
Exception thrown if a TSP request or response fails to validate.

If a failure code is associated with the exception it can be retrieved using the getFailureCode() method.

See Also:
  • Constructor Details

    • TSPValidationException

      public TSPValidationException(String message)
    • TSPValidationException

      public TSPValidationException(String message, int failureCode)
  • Method Details

    • getFailureCode

      public int getFailureCode()
      Return the failure code associated with this exception - if one is set.
      Returns:
      the failure code if set, -1 otherwise.