public class BootErrorHandlerConsole extends Object implements BootErrorHandler
Constructor and Description |
---|
BootErrorHandlerConsole() |
Modifier and Type | Method and Description |
---|---|
boolean |
handleError(String message,
Exception e)
Does the same as
handleFatalError(String, Throwable) always
returns false . |
boolean |
handleError(String message,
IntegrityCheckReport report)
Does the same as
handleFatalError(String) always returns
false . |
void |
handleFatalError(String message)
Prints given message to the "standard" error output.
|
void |
handleFatalError(String message,
Throwable t)
Prints given message and error stack trace to the "standard" error
output.
|
public void handleFatalError(String message)
handleFatalError
in interface BootErrorHandler
message
- error messageBootErrorHandler.handleFatalError(
java.lang.String)
public void handleFatalError(String message, Throwable t)
handleFatalError
in interface BootErrorHandler
message
- error messaget
- an errorBootErrorHandler.handleFatalError(
java.lang.String, java.lang.Throwable)
public boolean handleError(String message, Exception e)
handleFatalError(String, Throwable)
always
returns false
.handleError
in interface BootErrorHandler
message
- error messagee
- an errortrue
if user wish to continue application startBootErrorHandler.handleError(java.lang.String,
java.lang.Exception)
public boolean handleError(String message, IntegrityCheckReport report)
handleFatalError(String)
always returns
false
.handleError
in interface BootErrorHandler
message
- error messagereport
- integrity check reporttrue
if user wish to continue application startBootErrorHandler.handleError(java.lang.String,
org.java.plugin.registry.IntegrityCheckReport)
Copyright © 2016. All rights reserved.