|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectThrowable
Exception
RuntimeException
PageFlowManagedObjectException
PageFlowException
NotLoggedInException
public class NotLoggedInException
Exception thrown when:
@Jpf.Action
or @Jpf.SimpleAction
)
marked with loginRequired=true
is hit when there is no logged-in user, or,
rolesAllowed="
list of roles"
is hit when there is
no logged-in user.
LoginExpiredException
will be thrown instead of the NotLoggedInException
.
Constructor Summary | |
---|---|
NotLoggedInException(String actionName,
FlowController fc)
|
Method Summary | |
---|---|
boolean |
causeMayBeSessionExpiration()
Tell whether the root cause may be session expiration in cases where the requested session ID is different than the actual session ID. |
protected Object[] |
getMessageArgs()
|
String[] |
getMessageParts()
|
void |
sendResponseErrorCode(HttpServletResponse response)
|
Methods inherited from class PageFlowException |
---|
getActionName, getFlowController, getFlowControllerURI, init |
Methods inherited from class PageFlowManagedObjectException |
---|
getLocalizedMessage, getManagedObject, getMessage, init, printError, sendError, setManagedObject |
Methods inherited from class Throwable |
---|
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NotLoggedInException(String actionName, FlowController fc)
Method Detail |
---|
protected Object[] getMessageArgs()
getMessageArgs
in class PageFlowManagedObjectException
public String[] getMessageParts()
getMessageParts
in class PageFlowManagedObjectException
public void sendResponseErrorCode(HttpServletResponse response) throws IOException
sendResponseErrorCode
in interface ResponseErrorCodeSender
IOException
public boolean causeMayBeSessionExpiration()
true
.
causeMayBeSessionExpiration
in class PageFlowException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |