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 TypeMethodDescriptionbooleanhandleError(String message, Exception e) Called if non-fatal error has occurred and application boot may be continued.booleanhandleError(String message, IntegrityCheckReport integrityCheckReport) Called if an error has been detected during plug-ins integrity check and application boot may be continued.voidhandleFatalError(String message) Called if fatal error has occurred.voidhandleFatalError(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:
trueif 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:
trueif user wish to continue application start
-