# com.bea.wlw.netui.pageflow
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`

## Constructor Summary

NotLoggedInException(`String` actionName, `FlowController` fc) Construct with no error message.

## Method Summary

`protected `Object`[]` | `getMessageArgs`()
`public `String`[]` | `getMessageParts`()

Methods from `com.bea.wlw.netui.pageflow.`PageFlowException``
``getActionName`, `getFlowController`, `getFlowControllerURI`, `getLocalizedMessage`, `getMessage`, `printError`, `sendError``

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`

## Constructor Detail

### NotLoggedInException

    public NotLoggedInException(String actionName,
                                FlowController fc)

  Construct with no error message.

## Method Detail

### getMessageArgs() Method

    protected Object[] getMessageArgs()

Overrides
  `PageFlowException.getMessageArgs()`

### getMessageParts() Method

    public String[] getMessageParts()

Overrides
  `PageFlowException.getMessageParts()`