Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.tripi.asp
Class PrintExceptionHandler  view PrintExceptionHandler download PrintExceptionHandler.java

java.lang.Object
  extended bycom.tripi.asp.PrintExceptionHandler
All Implemented Interfaces:
AspExceptionHandler

public class PrintExceptionHandler
extends java.lang.Object
implements AspExceptionHandler

This class handles an exception by printing out the stack trace to the response handler.

Version:
0.9

Field Summary
(package private) static org.apache.log4j.Category DBG
          Debugging class
 
Constructor Summary
PrintExceptionHandler()
           
 
Method Summary
 void configureExceptionHandler(java.util.Properties prop)
          This function configures any properties
 boolean onExceptionOccured(AspContext ctx, AspException ex)
          This function is called when an exception occurs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DBG

static org.apache.log4j.Category DBG
Debugging class

Constructor Detail

PrintExceptionHandler

public PrintExceptionHandler()
Method Detail

configureExceptionHandler

public void configureExceptionHandler(java.util.Properties prop)
This function configures any properties

Specified by:
configureExceptionHandler in interface AspExceptionHandler

onExceptionOccured

public boolean onExceptionOccured(AspContext ctx,
                                  AspException ex)
                           throws AspException
This function is called when an exception occurs

Specified by:
onExceptionOccured in interface AspExceptionHandler