public class ErrorReporter extends Object
Modifier and Type | Field and Description |
---|---|
protected static ErrorHandler |
handler |
Constructor and Description |
---|
ErrorReporter() |
Modifier and Type | Method and Description |
---|---|
static void |
errorAbort(String msg)
Log an error message and abort processing.
|
static void |
errorAbort(String msg,
Throwable cause) |
static void |
setHandler(ErrorHandler h)
Register a handler to customize error reporting.
|
protected static ErrorHandler handler
public static void setHandler(ErrorHandler h)
public static void errorAbort(String msg)
msg
- The error message to log.