java.lang.Objectcom.ibm.commerce.exception.ExceptionHandler
This class contains methods helper methods for converting Exceptions to ECExceptions and generating ECExceptions. This class is for internal use only.
Constructor Summary | |
ExceptionHandler() Constructor for ExceptionHandler. |
Method Summary | |
static ECException | convertToECException(java.lang.Exception e) Converts from an Exception to an ECException object. |
static void | displayJspException(HttpServletRequest request, HttpServletResponse response, java.lang.Exception e) Forwards the exception to a GenericSystemError view task to display the associated generic system error JSP. |
static TypedProperty | getExceptionProperties(java.lang.Exception e) Gets the exception property |
static CommandException | getRootCommandException(CommandException e) Gets the root exception from the CommandException. |
static ErrorDataBean | handleJspException(HttpServletRequest request, HttpServletResponse response, java.lang.Exception e) Handles the JSP exception and gets an error databean. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ExceptionHandler()
Method Detail |
public static ECException convertToECException(java.lang.Exception e)
public static void displayJspException(HttpServletRequest request, HttpServletResponse response, java.lang.Exception e) throws ServletException
public static TypedProperty getExceptionProperties(java.lang.Exception e)
public static CommandException getRootCommandException(CommandException e)
public static ErrorDataBean handleJspException(HttpServletRequest request, HttpServletResponse response, java.lang.Exception e)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.