interface ErrorHandler
Modifier and Type | Method and Description |
---|---|
void |
handleError(String message,
Throwable error)
Called when an error has occurred which may have caused data loss but the
calling thread is still running.
|
void |
handleFatalError(Runnable callingThread,
String message,
Throwable error)
Called when a fatal error has occurred and the calling thread will exit.
|
void handleError(String message, Throwable error)
message
- A message describing the errorerror
- The error itself.void handleFatalError(Runnable callingThread, String message, Throwable error)
callingThread
- the thread where the error has occurredmessage
- a message describing the error.error
- the error itself.Copyright © 2018. All rights reserved.