|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.ibm.di.exceptions.IgnorableException
public class IgnorableException
This Exception class can be used when a minor Exception has occured. In most cases it would be ignored. It accepts a list of Exceptions as sources, and will display them all when printed.
Constructor Summary | |
---|---|
IgnorableException()
Constructor. |
|
IgnorableException(List<Throwable> exs)
Constructor. |
|
IgnorableException(Throwable ex)
Constructor. |
Method Summary | |
---|---|
void |
addThrowable(Throwable t)
Adds a Throwable to the list of contained ones. |
String |
getMessage()
Answers the extra information message which was provided when the throwable was created. |
List<Throwable> |
getThrowables()
Returns the list of managed Exceptions. |
boolean |
isEmpty()
Determines if this exception contains any Throwables. |
void |
printStackTrace()
Outputs a printable representation of the all causes stored in this Exception. |
void |
printStackTrace(PrintStream err)
Outputs a printable representation of the all causes stored in this Exception. |
void |
printStackTrace(PrintWriter err)
Outputs a printable representation of the all causes stored in this Exception. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IgnorableException()
public IgnorableException(Throwable ex)
ex
- exception's cause.public IgnorableException(List<Throwable> exs)
exs
- list of occurred exceptions.Method Detail |
---|
public void printStackTrace()
printStackTrace
in class Throwable
public void printStackTrace(PrintStream err)
printStackTrace
in class Throwable
err
- The stream to write the walkback on.public void printStackTrace(PrintWriter err)
printStackTrace
in class Throwable
err
- The writer to write the walkback on.public void addThrowable(Throwable t)
t
- a Throwable to add to the managed list.public List<Throwable> getThrowables()
public boolean isEmpty()
public String getMessage()
getMessage
in class Throwable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |