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 TypeMethodDescriptionboolean
handleError
(String message, Exception e) Does the same ashandleFatalError(String, Throwable)
always returnsfalse
.boolean
handleError
(String message, IntegrityCheckReport report) Does the same ashandleFatalError(String)
always returnsfalse
.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.
-
Constructor Details
-
BootErrorHandlerConsole
public BootErrorHandlerConsole()
-
-
Method Details
-
handleFatalError
Prints given message to the "standard" error output.- Specified by:
handleFatalError
in interfaceBootErrorHandler
- Parameters:
message
- error message- See Also:
-
handleFatalError
Prints given message and error stack trace to the "standard" error output.- Specified by:
handleFatalError
in interfaceBootErrorHandler
- Parameters:
message
- error messaget
- an error- See Also:
-
handleError
Does the same ashandleFatalError(String, Throwable)
always returnsfalse
.- Specified by:
handleError
in interfaceBootErrorHandler
- Parameters:
message
- error messagee
- an error- Returns:
true
if user wish to continue application start- See Also:
-
handleError
Does the same ashandleFatalError(String)
always returnsfalse
.- Specified by:
handleError
in interfaceBootErrorHandler
- Parameters:
message
- error messagereport
- integrity check report- Returns:
true
if user wish to continue application start- See Also:
-