com.tripi.asp
Class SetStatusExceptionHandler

java.lang.Object
com.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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DBG
static org.apache.log4j.Category DBG
- Debugging class
status
int status
- Exception code
SetStatusExceptionHandler
public SetStatusExceptionHandler()
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