Class AuthenticationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- net.sf.basedb.core.authentication.AuthenticationException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InvalidPasswordException
,LoginException
,UnknownLoginException
public class AuthenticationException extends RuntimeException
This exception can be thrown when an error occurs during the authentication.- Version:
- 2.0
- Author:
- Nicklas
- See Also:
- Serialized Form
- Last modified
- $Date: 2014-02-25 13:11:25 +0100 (ti, 25 feb 2014) $
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description AuthenticationException(String msg)
Create a newAuthenticationException
objectAuthenticationException(String msg, Throwable cause)
Create a newAuthenticationException
objectAuthenticationException(Throwable cause)
Create a newAuthenticationException
object
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AuthenticationException
public AuthenticationException(String msg)
Create a newAuthenticationException
object- Parameters:
msg
- The error message
-
AuthenticationException
public AuthenticationException(Throwable cause)
Create a newAuthenticationException
object- Parameters:
cause
- Another exception which is the cause of the error
-
-