Class AuthnErrorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.pingidentity.sdk.api.authn.exception.AuthnErrorException
-
- All Implemented Interfaces:
Serializable
public class AuthnErrorException extends Exception
Checked exception used to signal error during validation of the JSON body of an API request against the expected API model class.- Since:
- 9.3
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthnErrorException(AuthnError validationError)Create an instance of AuthnErrorException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthnErrorgetValidationError()The authentication API model representing a validation error of the JSON body of an API request against the expected API model class.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AuthnErrorException
public AuthnErrorException(AuthnError validationError)
Create an instance of AuthnErrorException.- Parameters:
validationError- The authentication API model representing a validation error of the JSON body of an API request against the expected API model class.- Since:
- 9.3
-
-
Method Detail
-
getValidationError
public AuthnError getValidationError()
The authentication API model representing a validation error of the JSON body of an API request against the expected API model class.- Since:
- 9.3
-
-