Copyright 2002 by aragost

com.aragost.araspect
Class ExceptionInfo

java.lang.Object
  |
  +--com.aragost.araspect.ExceptionInfo

public class ExceptionInfo
extends java.lang.Object

An ExceptionInfo is used for inspecting an throwable, and what caused the throwable. In particular this class is used the araSpect is used as JSP error page. We create an instance for the throwable that caused the error page to be called.


Constructor Summary
ExceptionInfo(java.lang.Throwable ex, javax.servlet.http.HttpServletRequest request)
          Creates a new ExceptionInfo object.
 
Method Summary
 java.lang.Throwable getException()
           
 HttpServletRequestInfo getRequest()
          DOCUMENT ME!
 javax.servlet.http.HttpSession getSession()
          DOCUMENT ME!
 java.lang.String getStackTrace()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionInfo

public ExceptionInfo(java.lang.Throwable ex,
                     javax.servlet.http.HttpServletRequest request)
Creates a new ExceptionInfo object.

Parameters:
ex - DOCUMENT ME!
request - DOCUMENT ME!
Method Detail

getException

public java.lang.Throwable getException()
Returns:
Throwable

getRequest

public HttpServletRequestInfo getRequest()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getSession

public javax.servlet.http.HttpSession getSession()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getStackTrace

public java.lang.String getStackTrace()
DOCUMENT ME!

Returns:
DOCUMENT ME!

Copyright 2002 by aragost