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

Quick Search    Search Deep

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

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

public class PrintMessageExceptionHandler
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
(package private)  java.lang.String message
          The message to display
 
Constructor Summary
PrintMessageExceptionHandler()
           
 
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


message

java.lang.String message
The message to display

Constructor Detail

PrintMessageExceptionHandler

public PrintMessageExceptionHandler()
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