Package com.jgcomptech.tools.authc
Class AuthenticationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.jgcomptech.tools.authc.AuthenticationException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AccountException
,CredentialsException
public class AuthenticationException extends java.lang.RuntimeException
General exception thrown due to an error during the Authentication process.- Since:
- 1.5.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthenticationException()
Creates a new AuthenticationException.AuthenticationException(java.lang.String message)
Constructs a new AuthenticationException.AuthenticationException(java.lang.String message, java.lang.Throwable cause)
Constructs a new AuthenticationException.AuthenticationException(java.lang.Throwable cause)
Constructs a new AuthenticationException.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
assertThrown(@NotNull java.lang.Runnable runnable)
Asserts that the specified runnable throws this exception and if not throws an junit assertion failure.
-
-
-
Constructor Detail
-
AuthenticationException
public AuthenticationException()
Creates a new AuthenticationException.
-
AuthenticationException
public AuthenticationException(java.lang.String message)
Constructs a new AuthenticationException.- Parameters:
message
- the reason for the exception
-
AuthenticationException
public AuthenticationException(java.lang.Throwable cause)
Constructs a new AuthenticationException.- Parameters:
cause
- the underlying Throwable that caused this exception to be thrown
-
AuthenticationException
public AuthenticationException(java.lang.String message, java.lang.Throwable cause)
Constructs a new AuthenticationException.- Parameters:
message
- the reason for the exceptioncause
- the underlying Throwable that caused this exception to be thrown
-
-