Package org.java.plugin.boot
Interface BootErrorHandler
- All Known Implementing Classes:
BootErrorHandlerConsole
,BootErrorHandlerGui
public interface BootErrorHandler
Callback interface to handle boot-time application errors.
- Version:
- $Id$
-
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 integrityCheckReport) 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.
-
Method Details
-
handleFatalError
Called if fatal error has occurred.- Parameters:
message
- error message
-
handleFatalError
Called if fatal error has occurred.- Parameters:
message
- error messaget
- an error
-
handleError
Called if non-fatal error has occurred and application boot may be continued.- Parameters:
message
- error messagee
- an error- Returns:
true
if user wish to continue application start
-
handleError
Called if an error has been detected during plug-ins integrity check and application boot may be continued.- Parameters:
message
- error messageintegrityCheckReport
- integrity check report- Returns:
true
if user wish to continue application start
-