Class 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 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