Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## nl.liacs.subdisc
Class ErrorLog

    java.lang.Object
      nl.liacs.subdisc.ErrorLog

    public class ErrorLog

extends java.lang.Object

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

### log

    public static void log(java.io.File theFile,
                           java.lang.Throwable theThrowable)

  Logs an Error message to the `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`.

  Parameters:
    `theFile` - the `File` that caused the Error.
    `theThrowable` - the `Throwable` indicating the cause of this Error.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD