org.apache.myfaces.tomahawk.util
Class ExceptionContext

java.lang.Object
  extended by org.apache.myfaces.tomahawk.util.ExceptionContext

public class ExceptionContext
extends java.lang.Object

The ExceptionContext class holds all information related to an error ocurred in a jsf environment, handled by a redirection using ErrorRedirectJSFPageHandler.

Version:
$Revision: 689684 $ $Date: 2008-08-27 19:50:09 -0500 (Wed, 27 Aug 2008) $
Author:
Leonardo Uribe (latest modification by $Author: lu4242 $)

Constructor Summary
ExceptionContext(java.lang.Throwable _exception, javax.faces.component.UIComponent viewRoot)
           
 
Method Summary
 java.lang.String getCause()
           
 java.lang.Throwable getException()
           
 java.lang.String getNow()
           
 java.lang.String getStackTrace()
           
 java.lang.String getTree()
           
 java.lang.String getVars()
           
 javax.faces.component.UIComponent getViewRoot()
           
 void setException(java.lang.Throwable exception)
           
 void setViewRoot(javax.faces.component.UIComponent viewRoot)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionContext

public ExceptionContext(java.lang.Throwable _exception,
                        javax.faces.component.UIComponent viewRoot)
Method Detail

setException

public void setException(java.lang.Throwable exception)

getException

public java.lang.Throwable getException()

getCause

public java.lang.String getCause()

getStackTrace

public java.lang.String getStackTrace()

getNow

public java.lang.String getNow()

getViewRoot

public javax.faces.component.UIComponent getViewRoot()

setViewRoot

public void setViewRoot(javax.faces.component.UIComponent viewRoot)

getVars

public java.lang.String getVars()

getTree

public java.lang.String getTree()


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.