JPF 1.5.1

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
 boolean handleError(java.lang.String message, java.lang.Exception e)
          Called if non-fatal error has occurred and application boot may be continued.
 boolean handleError(java.lang.String message, IntegrityCheckReport integrityCheckReport)
          Called if an error has been detected during plug-ins integrity check and application boot may be continued.
 void handleFatalError(java.lang.String message)
          Called if fatal error has occurred.
 void handleFatalError(java.lang.String message, java.lang.Throwable t)
          Called if fatal error has occurred.
 

Method Detail

handleFatalError

void handleFatalError(java.lang.String message)
Called if fatal error has occurred.

Parameters:
message - error message

handleFatalError

void handleFatalError(java.lang.String message,
                      java.lang.Throwable t)
Called if fatal error has occurred.

Parameters:
message - error message
t - an error

handleError

boolean handleError(java.lang.String message,
                    java.lang.Exception e)
Called if non-fatal error has occurred and application boot may be continued.

Parameters:
message - error message
e - an error
Returns:
true if user wish to continue application start

handleError

boolean handleError(java.lang.String message,
                    IntegrityCheckReport integrityCheckReport)
Called if an error has been detected during plug-ins integrity check and application boot may be continued.

Parameters:
message - error message
integrityCheckReport - integrity check report
Returns:
true if user wish to continue application start

JPF 1.5.1

Copyright © 2004-2007 Dmitry Olshansky. All Rights Reserved.