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