|
JPF 1.5.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.java.plugin.boot.BootErrorHandlerConsole
public class BootErrorHandlerConsole
Console out based error handler implementation, most suites good for non-interactive service-style applications.
Constructor Summary | |
---|---|
BootErrorHandlerConsole()
|
Method Summary | |
---|---|
boolean |
handleError(java.lang.String message,
java.lang.Exception e)
Does the same as handleFatalError(String, Throwable) always
returns false . |
boolean |
handleError(java.lang.String message,
IntegrityCheckReport report)
Does the same as handleFatalError(String) always returns
false . |
void |
handleFatalError(java.lang.String message)
Prints given message to the "standard" error output. |
void |
handleFatalError(java.lang.String message,
java.lang.Throwable t)
Prints given message and error stack trace to the "standard" error output. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BootErrorHandlerConsole()
Method Detail |
---|
public void handleFatalError(java.lang.String message)
handleFatalError
in interface BootErrorHandler
message
- error messageBootErrorHandler.handleFatalError(
java.lang.String)
public void handleFatalError(java.lang.String message, java.lang.Throwable t)
handleFatalError
in interface BootErrorHandler
message
- error messaget
- an errorBootErrorHandler.handleFatalError(
java.lang.String, java.lang.Throwable)
public boolean handleError(java.lang.String message, java.lang.Exception e)
handleFatalError(String, Throwable)
always
returns false
.
handleError
in interface BootErrorHandler
message
- error messagee
- an error
true
if user wish to continue application startBootErrorHandler.handleError(java.lang.String,
java.lang.Exception)
public boolean handleError(java.lang.String message, IntegrityCheckReport report)
handleFatalError(String)
always returns
false
.
handleError
in interface BootErrorHandler
message
- error messagereport
- integrity check report
true
if user wish to continue application startBootErrorHandler.handleError(java.lang.String,
org.java.plugin.registry.IntegrityCheckReport)
|
JPF 1.5.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |