org.bouncycastle.tsp
Class TSPValidationException
public class TSPValidationException
Exception thrown if a TSP request or response fails to validate.
If a failure code is assciated with the exception it can be retrieved using
the getFailureCode() method.
int | getFailureCode() - Return the failure code associated with this exception - if one is set.
|
TSPValidationException
public TSPValidationException(String message)
TSPValidationException
public TSPValidationException(String message,
int failureCode)
getFailureCode
public int getFailureCode()
Return the failure code associated with this exception - if one is set.
- the failure code if set, -1 otherwise.