Class AuthenticationException

  • All Implemented Interfaces:
    java.io.Serializable

    public class AuthenticationException
    extends java.lang.RuntimeException
    A runtime exception thrown when authentication fails.
    Since:
    1.0
    Author:
    James Kleeh
    See Also:
    Serialized Form
    • Method Summary

      • 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 Detail

      • AuthenticationException

        public AuthenticationException​(AuthenticationResponse response)
        Sets the message based on the response.
        Parameters:
        response - The authentication response
      • AuthenticationException

        public AuthenticationException()
        No message.
      • AuthenticationException

        public AuthenticationException​(java.lang.String message)
        Parameters:
        message - A custom message