Package com.helger.dao
Interface IDAOReadExceptionCallback
-
- All Superinterfaces:
com.helger.commons.callback.ICallback
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface IDAOReadExceptionCallback extends com.helger.commons.callback.ICallback
Callback interface to handle thrown exception objects on DAO reading.- Author:
- Philip Helger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonDAOReadException(Throwable t, boolean bInit, com.helger.commons.io.resource.IReadableResource aResource)Called when an exception of the specified type occurred
-
-
-
Method Detail
-
onDAOReadException
void onDAOReadException(@Nonnull Throwable t, boolean bInit, @Nullable com.helger.commons.io.resource.IReadableResource aResource)
Called when an exception of the specified type occurred- Parameters:
t- The exception. Nevernull.bInit-trueif it is an init actionfalseif it is a read action.aResource- The resource that failed. May benullif no file is defined.
-
-