Package org.java.plugin.boot
Class BootErrorHandlerConsole
java.lang.Object
org.java.plugin.boot.BootErrorHandlerConsole
- All Implemented Interfaces:
BootErrorHandler
Console out based error handler implementation, most suites good for
non-interactive service-style applications.
- Version:
- $Id$
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhandleError(String message, Exception e) Does the same ashandleFatalError(String, Throwable)always returnsfalse.booleanhandleError(String message, IntegrityCheckReport report) Does the same ashandleFatalError(String)always returnsfalse.voidhandleFatalError(String message) Prints given message to the "standard" error output.voidhandleFatalError(String message, Throwable t) Prints given message and error stack trace to the "standard" error output.
-
Constructor Details
-
BootErrorHandlerConsole
public BootErrorHandlerConsole()
-
-
Method Details
-
handleFatalError
Prints given message to the "standard" error output.- Specified by:
handleFatalErrorin interfaceBootErrorHandler- Parameters:
message- error message- See Also:
-
handleFatalError
Prints given message and error stack trace to the "standard" error output.- Specified by:
handleFatalErrorin interfaceBootErrorHandler- Parameters:
message- error messaget- an error- See Also:
-
handleError
Does the same ashandleFatalError(String, Throwable)always returnsfalse.- Specified by:
handleErrorin interfaceBootErrorHandler- Parameters:
message- error messagee- an error- Returns:
trueif user wish to continue application start- See Also:
-
handleError
Does the same ashandleFatalError(String)always returnsfalse.- Specified by:
handleErrorin interfaceBootErrorHandler- Parameters:
message- error messagereport- integrity check report- Returns:
trueif user wish to continue application start- See Also:
-