Package org.java.plugin.boot
Class BootErrorHandlerGui
java.lang.Object
org.java.plugin.boot.BootErrorHandlerGui
- All Implemented Interfaces:
BootErrorHandler
Standard boot error handler for GUI applications. Uses Swing based dialogue
to show error details to user and prompt for input.
- Version:
- $Id$
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
handleError
(String message, Exception e) Called if non-fatal error has occurred and application boot may be continued.boolean
handleError
(String message, IntegrityCheckReport report) Called if an error has been detected during plug-ins integrity check and application boot may be continued.void
handleFatalError
(String message) Called if fatal error has occurred.void
handleFatalError
(String message, Throwable t) Called if fatal error has occurred.
-
Constructor Details
-
BootErrorHandlerGui
public BootErrorHandlerGui()
-
-
Method Details
-
handleFatalError
Description copied from interface:BootErrorHandler
Called if fatal error has occurred.- Specified by:
handleFatalError
in interfaceBootErrorHandler
- Parameters:
message
- error message- See Also:
-
handleFatalError
Description copied from interface:BootErrorHandler
Called if fatal error has occurred.- Specified by:
handleFatalError
in interfaceBootErrorHandler
- Parameters:
message
- error messaget
- an error- See Also:
-
handleError
Description copied from interface:BootErrorHandler
Called if non-fatal error has occurred and application boot may be continued.- Specified by:
handleError
in interfaceBootErrorHandler
- Parameters:
message
- error messagee
- an error- Returns:
true
if user wish to continue application start- See Also:
-
handleError
Description copied from interface:BootErrorHandler
Called if an error has been detected during plug-ins integrity check and application boot may be continued.- Specified by:
handleError
in interfaceBootErrorHandler
- Parameters:
message
- error messagereport
- integrity check report- Returns:
true
if user wish to continue application start- See Also:
-