|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.jaffa.exceptions.ApplicationExceptions
This class is generally thrown by the Transaction controllers. It will contain a collection of ApplicationException objects.
| Constructor Summary | |
ApplicationExceptions()
|
|
| Method Summary | |
boolean |
add(ApplicationException exception)
Adds an ApplicationException object to the internal collection. |
void |
addContext(String context)
This is a convenience method to wrap each ApplicationException of this ApplicationExceptions object in an ApplicationExceptionWithContext instance, adding the input context. |
ApplicationException[] |
getApplicationExceptionArray()
Returns an array of ApplicationException objects. |
Iterator |
iterator()
Returns the iterator on the internal collection of ApplicationException objects. |
boolean |
remove(ApplicationException exception)
Removes an ApplicationException object from the internal collection. |
int |
size()
Returns the number of ApplicationException objects in the internal collection. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ApplicationExceptions()
| Method Detail |
public int size()
public Iterator iterator()
public boolean add(ApplicationException exception)
exception - the ApplicationException.
public boolean remove(ApplicationException exception)
exception - the ApplicationException.
public ApplicationException[] getApplicationExceptionArray()
public void addContext(String context)
context - The context under which the exception was raised. A null value is not permitted.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||