public class ExceptionHandler
extends java.lang.Object
Constructor and Description |
---|
ExceptionHandler()
This is the default constructor for this class.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String | convertStackTraceToString(java.lang.Throwable throwable)
This method converts the stack trace of the Throwable object to a String for tracing purposes.
|
static ECException | convertToECException(java.lang.Throwable e)
This method converts an Exception object to an ECException object.
|
static void | displayJspException(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.Exception e)
This method forwards the exception to a GenericSystemError view task to display the associated generic system error JSP.
|
static TypedProperty | getExceptionProperties(java.lang.Exception e)
This method gets exception properties.
|
static TypedProperty | getExceptionProperties(java.lang.Throwable e)
This method gets the exception properties.
|
static com.ibm.websphere.command.CommandException | getRootCommandException(com.ibm.websphere.command.CommandException e)
This method gets the root exception from the CommandException.
|
static ErrorDataBean | handleJspException(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.Exception e)
This method handles the JSP exception and gets an error data bean.
|
public ExceptionHandler()
public static ECException convertToECException(java.lang.Throwable e)
public static void displayJspException(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.Exception e) throws javax.servlet.ServletException
public static TypedProperty getExceptionProperties(java.lang.Throwable e)
public static TypedProperty getExceptionProperties(java.lang.Exception e)
public static com.ibm.websphere.command.CommandException getRootCommandException(com.ibm.websphere.command.CommandException e)
public static ErrorDataBean handleJspException(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.Exception e)
public static java.lang.String convertStackTraceToString(java.lang.Throwable throwable)