Package | Description |
---|---|
net.sourceforge.stripes.config |
This package provides Configuration services for Stripes, including interfaces for
locating configured components and configuration parameters.
|
net.sourceforge.stripes.exception |
Contains interfaces and implementations of exception handling strategy classes.
|
Modifier and Type | Method and Description |
---|---|
ExceptionHandler |
Configuration.getExceptionHandler()
Returns an instance of ExceptionHandler that can be used by Stripes to handle any
exceptions that arise as the result of processing a request.
|
ExceptionHandler |
DefaultConfiguration.getExceptionHandler()
Returns an instance of an ExceptionHandler.
|
protected ExceptionHandler |
DefaultConfiguration.initExceptionHandler()
Allows subclasses to initialize a non-default ExceptionHandler instance to be used.
|
protected ExceptionHandler |
RuntimeConfiguration.initExceptionHandler()
Looks for a class name in config and uses that to create the component.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultExceptionHandler
Default ExceptionHandler implementation that makes it easy for users to extend and
add custom handling for different types of exception.
|
class |
DelegatingExceptionHandler
An alternative implementation of
ExceptionHandler that discovers and automatically
configures individual AutoExceptionHandler classes to handle specific types of
exceptions. |
? Copyright 2005-2006, Stripes Development Team.