# com.bea.wlw.netui.pageflow
PageFlowException Class

public abstract class PageFlowException
extends `RuntimeException`

Base class for PageFlow-related Exceptions.

Hierarchy
  `Object`
  `Throwable`
  `Exception`
  `RuntimeException`
  `PageFlowException`

All Implemented Interfaces
  `Serializable`

Direct Known Subclasses
  `ActionNotFoundException`, `EmptyNestingStackException`, `IllegalOutputFormException`, `IllegalPageInputException`, `InfiniteReturnToActionException`, `NoMatchingActionMethodException`, `NotLoggedInException`, `ReturnToException`, `UnfulfilledRolesException`, `UnresolvableForwardException`

## Constructor Summary

PageFlowException(`String` actionName, `FlowController` fc)

## Method Summary

`public `String`` | `getActionName`() Get the name of the action associated with this exception.
`public `FlowController`` | `getFlowController`() Get the related FlowController.
`public `String`` | `getFlowControllerURI`() Get the name of the related FlowController.
`public `String`` | `getLocalizedMessage`()
`public `String`` | `getMessage`()
`protected abstract `Object`[]` | `getMessageArgs`()
`protected abstract `String`[]` | `getMessageParts`()
`public void` | `printError`(`PrintWriter` writer) Print a formatted message.
`public void` | `sendError`(`HttpServletRequest` request, `HttpServletResponse` response) Handle the error by writing a message to the response.

Methods from `java.lang.`Throwable``
`fillInStackTrace, getCause, 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

### PageFlowException

    public PageFlowException(String actionName,
                             FlowController fc)

## Method Detail

### getActionName() Method

    public String getActionName()

Get the name of the action associated with this exception.

#### Returns

a String that is the name of the action associated with this exception.

### getFlowController() Method

    public FlowController getFlowController()

Get the related FlowController.

#### Returns

the `FlowController``` associated with this exception.

### getFlowControllerURI() Method

    public String getFlowControllerURI()

Get the name of the related FlowController.

#### Returns

the class name of the `FlowController``` associated with this exception.

### getLocalizedMessage() Method

    public String getLocalizedMessage()

Overrides
  `Throwable.getLocalizedMessage()`

### getMessage() Method

    public String getMessage()

Overrides
  `Throwable.getMessage()`

### getMessageArgs() Method

    protected abstract Object[] getMessageArgs()

### getMessageParts() Method

    protected abstract String[] getMessageParts()

### printError(PrintWriter) Method

    public void printError(PrintWriter writer)

Print a formatted message.

#### Parameters

writer
  a writer to which to print the formatted message.

### sendError(HttpServletRequest, HttpServletResponse) Method

    public void sendError(HttpServletRequest request,
                          HttpServletResponse response)
         throws IOException

Handle the error by writing a message to the response.

#### Parameters

request
  the current HttpServletRequest

response
  the current HttpServletResponse

#### Exceptions

``IOException``