Class PreventedException

  • All Implemented Interfaces:
    java.io.Serializable

    public class PreventedException
    extends java.lang.Exception
    Describes an error condition where authentication was prevented for some reason, e.g. communication error with back-end authentication store.
    Since:
    4.0.0
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      PreventedException​(java.lang.String message)
      Instantiates a new Prevented exception.
      PreventedException​(java.lang.String message, java.lang.Throwable cause)
      Creates a new instance with an explanatory message and the exception that prevented authentication.
      PreventedException​(java.lang.Throwable cause)
      Creates a new instance with the exception that prevented authentication.
    • 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

      • PreventedException

        public PreventedException​(java.lang.Throwable cause)
        Creates a new instance with the exception that prevented authentication.
        Parameters:
        cause - Error that prevented authentication.
      • PreventedException

        public PreventedException​(java.lang.String message,
                                  java.lang.Throwable cause)
        Creates a new instance with an explanatory message and the exception that prevented authentication.
        Parameters:
        message - Descriptive error message.
        cause - Error that prevented authentication.
      • PreventedException

        public PreventedException​(java.lang.String message)
        Instantiates a new Prevented exception.
        Parameters:
        message - the message