Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.opensymphony.xwork2.interceptor
Class ExceptionHolder

    java.lang.Object
      com.opensymphony.xwork2.interceptor.ExceptionHolder

    public class ExceptionHolder

extends Object

A simple wrapper around an exception, providing an easy way to print out the stack trace of the exception as well as a way to get a handle on the exception itself.

Author:
  Matthew E. Porter (matthew dot porter at metissian dot com) Date: Sep 21, 2005 Time: 3:09:12 PM

Field Summary
`private Exception` | `exception`

Constructor Summary
`ExceptionHolder(Exception exception)`

Method Summary
`Exception` | `getException()`
`String` | `getExceptionStack()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### exception

    private Exception exception

Constructor Detail

### ExceptionHolder

    public ExceptionHolder(Exception exception)

Method Detail

### getException

    public Exception getException()

### getExceptionStack

    public String getExceptionStack()
                             throws IOException

  Throws:
    `IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2007 OpenSymphony. All Rights Reserved.