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 BootErrorHandlermessage - error messageBootErrorHandler.handleFatalError(
java.lang.String)public void handleFatalError(String message, Throwable t)
handleFatalError in interface BootErrorHandlermessage - 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 BootErrorHandlermessage - 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 BootErrorHandlermessage - error messagereport - integrity check reporttrue if user wish to continue application startBootErrorHandler.handleError(java.lang.String,
org.java.plugin.registry.IntegrityCheckReport)Copyright © 2015. All rights reserved.