com.opensymphony.xwork.interceptor
Class ExceptionHolder

java.lang.Object
  extended by com.opensymphony.xwork.interceptor.ExceptionHolder

public class ExceptionHolder
extends java.lang.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

Constructor Summary
ExceptionHolder(java.lang.Exception exception)
           
 
Method Summary
 java.lang.Exception getException()
           
 java.lang.String getExceptionStack()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionHolder

public ExceptionHolder(java.lang.Exception exception)
Method Detail

getException

public java.lang.Exception getException()

getExceptionStack

public java.lang.String getExceptionStack()
                                   throws java.io.IOException
Throws:
java.io.IOException

XWork Project Page