Home » xwork-2.1.5 » com.opensymphony » xwork2 » interceptor » [javadoc | source]
com.opensymphony.xwork2.interceptor
public class: ExceptionHolder [javadoc | source]
java.lang.Object
   com.opensymphony.xwork2.interceptor.ExceptionHolder

All Implemented Interfaces:
    Serializable

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.
Constructor:
 public ExceptionHolder(Exception exception) 
    Holds the given exception
    Parameters:
    exception - the exception to hold.
Method from com.opensymphony.xwork2.interceptor.ExceptionHolder Summary:
getException,   getExceptionStack
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.opensymphony.xwork2.interceptor.ExceptionHolder Detail:
 public Exception getException() 
    Gets the holded exception
 public String getExceptionStack()