Class PowerAuthAuthenticationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
io.getlime.security.powerauth.rest.api.base.exception.PowerAuthAuthenticationException
All Implemented Interfaces:
java.io.Serializable

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

    Constructors
    Constructor Description
    PowerAuthAuthenticationException()
    Default constructor
    PowerAuthAuthenticationException​(java.lang.String message)
    Constructor with a custom error message
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getDefaultCode()
    Get the default error code, used for example in REST response.

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • PowerAuthAuthenticationException

      public PowerAuthAuthenticationException()
      Default constructor
    • PowerAuthAuthenticationException

      public PowerAuthAuthenticationException​(java.lang.String message)
      Constructor with a custom error message
      Parameters:
      message - Error message
  • Method Details

    • getDefaultCode

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