|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.liacs.subdisc.ErrorLog
public class ErrorLog
Nested Class Summary | |
---|---|
static class |
ErrorLog.Error
|
Method Summary | |
---|---|
static void |
log(java.io.File theFile,
java.lang.Throwable theThrowable)
Logs an Error message to the command line . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void log(java.io.File theFile, java.lang.Throwable theThrowable)
command line
. This
includes the fully qualified class name and the method in which the Error
occurred, and the getMessage()
String
if it is
available for the Throwable
. Always call this method
immediately after the Error occurs, as it relies on the
StackTrace
.
theFile
- the File
that caused the Error.theThrowable
- the Throwable
indicating the cause of
this Error.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |