public interface DbExceptionListener
BoxStore.setDbExceptionListener(DbExceptionListener)
.Modifier and Type | Method and Description |
---|---|
static void |
cancelCurrentException()
WARNING/DISCLAIMER: Please avoid this method and handle exceptions "properly" instead.
|
void |
onDbException(java.lang.Exception e)
Called when an exception is thrown during a database operation.
|
@Experimental static void cancelCurrentException()
Also note that it is likely that this method will never graduate from @Experimental
until it is removed.
This method may be only called from onDbException(Exception)
.
void onDbException(java.lang.Exception e)
e
- the exception occurred during a database operation