NotLoggedInException Class
- public class NotLoggedInException
extends PageFlowException
Exception thrown when:
- An action method marked with
@jpf:action login-required="true"
is hit
when there is no logged-in user, or
- An action method marked with
@jpf:action roles-allowed="
roles"
is hit when there is no logged-in user.
If the requested session-ID is different than the current session-ID, the LoginExpiredException
will be thrown instead of the NotLoggedInException
.
-
Hierarchy
-
Object
Throwable
Exception
RuntimeException
PageFlowException
NotLoggedInException
-
All Implemented Interfaces
-
Serializable
-
Direct Known Subclasses
-
LoginExpiredException
Methods from java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotLoggedInException
public NotLoggedInException(String
actionName,
FlowController
fc)
- Construct with no error message.
getMessageArgs() Method
protected Object
[] getMessageArgs()
-
Overrides
-
PageFlowException.getMessageArgs()
getMessageParts() Method
public String
[] getMessageParts()
-
Overrides
-
PageFlowException.getMessageParts()