|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.sqlpower.wabit.CleanupExceptions
public class CleanupExceptions
If errors occur during cleanup this object will contain the exceptions and error messages.
| Constructor Summary | |
|---|---|
CleanupExceptions()
|
|
| Method Summary | |
|---|---|
void |
add(CleanupExceptions ex)
Add all of the exceptions and error messages in the given CleanupExceptions to this exception. |
void |
add(java.lang.Exception e)
Adds an exception to this set of exceptions that occurred during cleanup. |
void |
add(java.lang.String message)
Adds an error message to this set of errors that occurred during cleanup. |
java.util.List<java.lang.String> |
getErrorMessages()
Returns an unmodifiable copy of the error messages that occurred during cleanup. |
java.util.List<java.lang.Exception> |
getExceptions()
Returns an unmodifiable copy of the exceptions that occurred during cleanup. |
boolean |
isCleanupSuccessful()
Returns true if there were no exceptions or error messages during cleanup. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CleanupExceptions()
| Method Detail |
|---|
public void add(java.lang.Exception e)
public void add(java.lang.String message)
public void add(CleanupExceptions ex)
public boolean isCleanupSuccessful()
public java.util.List<java.lang.Exception> getExceptions()
public java.util.List<java.lang.String> getErrorMessages()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||