Class LoginException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.wicketstuff.security.authentication.LoginException
- All Implemented Interfaces:
Serializable
Thrown when an exception arrises during the login.
- Author:
- marrink
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLoginException(String message) LoginException(String message, Throwable cause) LoginException(Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionThe login context that cause the exception.setLoginContext(Object loginContext) Set the login context that caused the problem.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LoginException
public LoginException() -
LoginException
- Parameters:
message-
-
LoginException
- Parameters:
cause-
-
LoginException
- Parameters:
message-cause-
-
-
Method Details
-
getLoginContext
The login context that cause the exception.- Returns:
- login context
-
setLoginContext
Set the login context that caused the problem.- Parameters:
loginContext-- Returns:
- this exception
-