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