util
Class StackTrace
java.lang.Object
util.StackTrace
public class StackTrace
- extends Object
Class to test the stack trace method in throwable.
|
Method Summary |
private static Throwable |
getThrowable()
Returns a thorable for testing. |
static void |
main(String[] arg)
Creates a string writeer and writes the stack trace into it. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StackTrace
public StackTrace()
getThrowable
private static Throwable getThrowable()
- Returns a thorable for testing.
main
public static void main(String[] arg)
throws IOException
- Creates a string writeer and writes the stack trace into it.
- Throws:
IOException