|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.directory.shared.ldap.RuntimeMultiException
public class RuntimeMultiException
This exception is thrown when Base class for nested exceptions.
| Field Summary | |
|---|---|
(package private) static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
RuntimeMultiException()
Constructs an Exception without a message. |
|
RuntimeMultiException(java.lang.String message)
Constructs an Exception with a detailed message. |
|
| Method Summary | |
|---|---|
void |
addThrowable(java.lang.Throwable nested)
Add an exeception to this multiexception. |
boolean |
isEmpty()
Tests to see if exceptions are nested within this exception. |
java.util.Iterator<java.lang.Throwable> |
listNestedExceptions()
Lists the nested exceptions that this Exception encapsulates. |
void |
printStackTrace()
Beside printing out the standard stack trace this method prints out the stack traces of all the nested exceptions using standard error. |
void |
printStackTrace(java.io.PrintStream out)
Beside printing out the standard stack trace this method prints out the stack traces of all the nested exceptions. |
void |
printStackTrace(java.io.PrintWriter out)
Beside printing out the standard stack trace this method prints out the stack traces of all the nested exceptions. |
int |
size()
Gets the size (number of) exceptions nested within this exception. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
static final long serialVersionUID
| Constructor Detail |
|---|
public RuntimeMultiException()
public RuntimeMultiException(java.lang.String message)
message - The message associated with the exception.| Method Detail |
|---|
public java.util.Iterator<java.lang.Throwable> listNestedExceptions()
public int size()
public boolean isEmpty()
public void addThrowable(java.lang.Throwable nested)
nested - exception to add to this MultiException.public void printStackTrace(java.io.PrintWriter out)
printStackTrace in class java.lang.Throwableout - PrintWriter to write the nested stack trace to.public void printStackTrace(java.io.PrintStream out)
printStackTrace in class java.lang.Throwableout - PrintStream to write the nested stack trace to.public void printStackTrace()
printStackTrace in class java.lang.Throwable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||