|
|||||||||||
| 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(java.util.List<java.lang.Throwable> exs)
Constructor. |
|
IgnorableException(java.lang.Throwable ex)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addThrowable(java.lang.Throwable t)
Adds a Throwable to the list of contained ones. |
java.lang.String |
getMessage()
Answers the extra information message which was provided when the throwable was created. |
java.util.List<java.lang.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(java.io.PrintStream err)
Outputs a printable representation of the all causes stored in this Exception. |
void |
printStackTrace(java.io.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(java.lang.Throwable ex)
ex - exception's cause.public IgnorableException(java.util.List<java.lang.Throwable> exs)
exs - list of occurred exceptions.| Method Detail |
|---|
public void printStackTrace()
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintStream err)
printStackTrace in class java.lang.Throwableerr - The stream to write the walkback on.public void printStackTrace(java.io.PrintWriter err)
printStackTrace in class java.lang.Throwableerr - The writer to write the walkback on.public void addThrowable(java.lang.Throwable t)
t - a Throwable to add to the managed list.public java.util.List<java.lang.Throwable> getThrowables()
public boolean isEmpty()
public java.lang.String getMessage()
getMessage in class java.lang.Throwable
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||