| |
|
| java.lang.Object java.lang.Throwable java.lang.Exception org.mortbay.util.MultiException
MultiException | public class MultiException extends Exception (Code) | | Wraps multiple exceptions.
Allows multiple exceptions to be thrown as a single exception.
author: Greg Wilkins (gregw) |
MultiException | public MultiException()(Code) | | |
ifExceptionThrow | public void ifExceptionThrow() throws Exception(Code) | | Throw a multiexception.
If this multi exception is empty then no action is taken. If it
contains a single exception that is thrown, otherwise the this
multi exception is thrown.
exception: Exception - |
ifExceptionThrowMulti | public void ifExceptionThrowMulti() throws MultiException(Code) | | Throw a multiexception.
If this multi exception is empty then no action is taken. If it
contains a any exceptions then this
multi exception is thrown.
|
ifExceptionThrowRuntime | public void ifExceptionThrowRuntime() throws Error(Code) | | Throw a Runtime exception.
If this multi exception is empty then no action is taken. If it
contains a single error or runtime exception that is thrown, otherwise the this
multi exception is thrown, wrapped in a runtime exception.
exception: Error - If this exception contains exactly 1 Error exception: RuntimeException - If this exception contains 1 Throwable but it is not an error,or it contains more than 1 Throwable of any type. |
printStackTrace | public void printStackTrace()(Code) | | |
|
|
|