|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ExceptionInfo
Interface that wraps information about exceptions, in particular nested exception information
| Method Summary | |
|---|---|
java.lang.String |
getMessage(java.lang.Throwable throwable)
Get the message for the given throwable |
java.lang.Throwable |
getNextThrowable(java.lang.Throwable throwable)
Return the nested Throwable for the given input throwable, if any. |
boolean |
givesInfoAbout(java.lang.Throwable throwable)
Return whether or not this class gives information about the throwable passed as parameter. |
| Method Detail |
|---|
boolean givesInfoAbout(java.lang.Throwable throwable)
throwable - A not-null Throwable instance
java.lang.Throwable getNextThrowable(java.lang.Throwable throwable)
throwable - A not-null Throwable instance that returned true when
passed to the givesInfoAbout() methodA - Throwable instance if there is a nested exception; null
otherwise.java.lang.String getMessage(java.lang.Throwable throwable)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||