org.jwarp.common
Interface ICascadingException
- All Known Implementing Classes:
- ACascadingException
- public interface ICascadingException
Interface which all cascadign throwables should implement. Allows recording of nested exceptions.
- Author:
- Peter Donald
|
Method Summary |
void |
addException(java.lang.Exception exception,
java.lang.Object source)
Add an exception |
java.util.Iterator |
getExceptions()
Get all exceptions |
void |
removeException(java.lang.Exception exception)
Remove an exception |
addException
public void addException(java.lang.Exception exception,
java.lang.Object source)
- Add an exception
- Parameters:
exception - The exceptionsource - The source object
removeException
public void removeException(java.lang.Exception exception)
- Remove an exception
- Parameters:
exception - The exception
getExceptions
public java.util.Iterator getExceptions()
- Get all exceptions