Class PowerAuthAuthenticationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
io.getlime.security.powerauth.rest.api.spring.exception.PowerAuthAuthenticationException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
PowerAuthHeaderMissingException, PowerAuthInvalidRequestException, PowerAuthRecoveryConfirmationException, PowerAuthRequestFilterException, PowerAuthSignatureErrorException, PowerAuthSignatureInvalidException, PowerAuthSignatureTypeInvalidException, PowerAuthTokenErrorException, PowerAuthTokenInvalidException

public class PowerAuthAuthenticationException
extends Exception
Exception raised in case PowerAuth authentication fails.
Author:
Petr Dvorak, petr@wultra.com
See Also:
Serialized Form
  • Constructor Details

    • PowerAuthAuthenticationException

      public PowerAuthAuthenticationException()
      Default constructor
    • PowerAuthAuthenticationException

      public PowerAuthAuthenticationException​(String message)
      Constructor with a custom error message
      Parameters:
      message - Error message
    • PowerAuthAuthenticationException

      public PowerAuthAuthenticationException​(Throwable cause)
      Constructor with a cause.
      Parameters:
      cause - Error cause.
  • Method Details

    • getDefaultCode

      public String getDefaultCode()
      Get the default error code, used for example in REST response.
      Returns:
      Default error code.
    • getDefaultError

      public String getDefaultError()
      Get default error message, used for example in the REST response.
      Returns:
      Default error message.