Package org.apereo.cas.authentication
Class PreventedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apereo.cas.authentication.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.
-
-
-
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
-
-