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

Quick Search    Search Deep

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

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

public class SetStatusExceptionHandler
extends java.lang.Object
implements AspExceptionHandler

This class handles an exception by setting the status on the response object.

Version:
0.9

Field Summary
(package private) static org.apache.log4j.Category DBG
          Debugging class
(package private)  int status
          Exception code
 
Constructor Summary
SetStatusExceptionHandler()
           
 
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


status

int status
Exception code

Constructor Detail

SetStatusExceptionHandler

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