| java.lang.Object org.jasig.portal.channels.error.error2xml.DelegatingThrowableToElement
DelegatingThrowableToElement | public class DelegatingThrowableToElement implements IThrowableToElement(Code) | | A wrapper for a List of child ThrowableToElements and the logic to poll
them in order, accepting the result from the first to support the given throwable.
Defaults to the standard List of ThrowableToElement implementations, but provides
API hooks to change the list.
You can add handling for other Throwables by either editing this implementation
code to include additional ThrowableToElement implementations by default or
by injecting a different List of ThrowableToElement implementations where
the instance of this class that CError actually uses is configured
in applicationContext.xml.
version: $Revision: 35611 $ $Date: 2005-04-18 13:55:13 -0700 (Mon, 18 Apr 2005) $ since: uPortal 2.5 |
DelegatingThrowableToElement | public DelegatingThrowableToElement()(Code) | | Instantiate a DelegatingThrowableToElement with
a default List of delegates.
|
getThrowableToElements | public List getThrowableToElements()(Code) | | Get the List of ThrowableToElements delegates.
Returns the List of throwableToElements delegates.. |
setThrowableToElements | public void setThrowableToElements(List throwableToElements)(Code) | | Set the List of ThrowableToElement implementations which this
implementation will poll in order.
The List should be in order from most specific to least specific.
Parameters: throwableToElements - List of ThrowableToElement impls. |
|
|