net.clackrouter.error
Class ErrorReporter
java.lang.Object
net.clackrouter.error.ErrorReporter
public class ErrorReporter
- extends java.lang.Object
Class for remote error reporting when Clack peforms a fatal error.
The class attempts to dump System.out and System.err to a listening port on a remote server,
so that they error can be recognized and fixed.
Method Summary |
static void |
reportError(ClackFramework graphpad,
java.lang.String msg)
Report an error with a String message |
static void |
reportError(java.lang.String msg,
java.lang.Exception error)
Report an error using a string message and an exception, for use when no ClackGraphpad handle exists. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ErrorReporter
public ErrorReporter()
reportError
public static void reportError(ClackFramework graphpad,
java.lang.String msg)
- Report an error with a String message
- Parameters:
graphpad
- msg
-
reportError
public static void reportError(java.lang.String msg,
java.lang.Exception error)
- Report an error using a string message and an exception, for use when no ClackGraphpad handle exists.
- Parameters:
msg
- error
-