|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectthings.common.ThingsExceptionBundle<E>
public class ThingsExceptionBundle<E extends ThingsException>
Creates a bundle of exceptions and methods for accessing them. You can use this
to collect errors without interrupting processing.
Version History
EPG - Initial - 22 MAY 05
Constructor Summary | |
---|---|
ThingsExceptionBundle()
Default Constructor. |
Method Summary | |
---|---|
void |
add(E exp)
Add an exception. |
E |
resolve()
Resolve to single exception. |
int |
size()
Get the number of exceptions in the bundle. |
void |
throwResolved()
Resolve to single exception and throws it. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThingsExceptionBundle()
Method Detail |
---|
public void add(E exp)
exp
- The exception to add.public E resolve()
public void throwResolved() throws E extends ThingsException
E
- the resolved exception.
E extends ThingsException
public int size()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |