|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--ExcUtil
This class contains utility routines for manipulating Java Exceptions, Errors and Throwables.
Usage:
- The typical scenario for using this class is:
String str = ExcUtil.getStackTrace(throwable);
Assumptions:
Effects:
- None.
Anticipated Changes:
Notes:
Implementation Notes:
Portability Issues:
| Inner Class Summary | |
static class |
ExcUtil.Tester
Each class contains a Tester inner class with a main() for easier unit testing. |
| Constructor Summary | |
ExcUtil()
Constructor. |
|
| Method Summary | |
static java.lang.String |
getStackTrace(java.lang.Throwable e)
Return the stack trace of the specified Throwable as a String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ExcUtil()
None. - Exceptions - None.| Method Detail |
public static java.lang.String getStackTrace(java.lang.Throwable e)
e - Throwable to get the stack trace from.Exceptions - None.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||