|
||||||||||
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.apache.directory.shared.ldap.MultiException
public class MultiException
This exception is thrown when Base class for nested exceptions.
Constructor Summary | |
---|---|
MultiException()
Constructs an Exception without a message. |
|
MultiException(String a_message)
Constructs an Exception with a detailed message. |
Method Summary | |
---|---|
void |
addThrowable(Throwable a_nested)
Add an exeception to this multiexception. |
boolean |
isEmpty()
Tests to see if there are any nested exceptions within this MultiException. |
Iterator |
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(PrintStream an_out)
Beside printing out the standard stack trace this method prints out the stack traces of all the nested exceptions. |
void |
printStackTrace(PrintWriter an_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 of this nested exception which equals the number of exception nested within. |
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 |
Constructor Detail |
---|
public MultiException()
public MultiException(String a_message)
a_message
- The message associated with the exception.Method Detail |
---|
public Iterator listNestedExceptions()
public int size()
public boolean isEmpty()
public void addThrowable(Throwable a_nested)
a_nested
- exception to add to this MultiException.public void printStackTrace(PrintWriter an_out)
printStackTrace
in class Throwable
an_out
- PrintWriter to write the nested stack trace to.public void printStackTrace(PrintStream an_out)
printStackTrace
in class Throwable
an_out
- PrintStream to write the nested stack trace to.public void printStackTrace()
printStackTrace
in class Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |