public class ExceptionHandler extends Object
Constructor and Description |
---|
ExceptionHandler() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Command-line interface
|
static void |
printCause(Throwable t)
Scans the stack of an exception and prints the first line and any line which begins with "Cause".
|
public static void main(String[] args)
args
- the arguments passed on the command-line.public static void printCause(Throwable t)
t
- A Throwable containing the stack trace.Copyright © 2008-2009 Regents University of California. All Rights Reserved.