|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.acsinet_solutions.util.exception.ExceptionData
public final class ExceptionData
Wrapper for an exception object that enables nicer reporting of stack traces.
| Constructor Summary | |
|---|---|
ExceptionData(java.lang.Throwable throwable)
Constructor for an ExceptionData instance based on the given input throwable and no super exception |
|
| Method Summary | |
|---|---|
java.lang.String |
getEntry(int i)
Get the given stack trace entry |
int |
getFirstDifferentIndex()
Get the first different index from it's outer stack trace |
ExceptionData |
getLastExceptionData()
Get the last exception data of this nested exception structure |
java.lang.String |
getMessage()
Return the not-null message for this throwable |
ExceptionData |
getNextExceptionData()
Get the ExceptionData for a nested exception if any |
ExceptionData |
getPreviousExceptionData()
Get the previous ExceptionData structure, if any |
int |
getSize()
Get the size of the stack trace structure |
java.lang.Throwable |
getThrowable()
Return the internal Throwable instance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExceptionData(java.lang.Throwable throwable)
| Method Detail |
|---|
public final java.lang.Throwable getThrowable()
public final java.lang.String getMessage()
public final int getSize()
public final int getFirstDifferentIndex()
public final java.lang.String getEntry(int i)
An - int value greater than zero, less than the value reported by
the getSize() method
public final ExceptionData getNextExceptionData()
public final ExceptionData getPreviousExceptionData()
public final ExceptionData getLastExceptionData()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||