Package com.helger.dao
Interface IDAOWriteExceptionCallback
-
- 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 IDAOWriteExceptionCallback extends com.helger.commons.callback.ICallback
Callback interface to handle thrown exception objects in DAO write actions.- Author:
- Philip Helger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonDAOWriteException(Throwable t, com.helger.commons.io.resource.IReadableResource aResource, CharSequence aFileContent)Called when an exception of the specified type occurred
-
-
-
Method Detail
-
onDAOWriteException
void onDAOWriteException(@Nonnull Throwable t, @Nonnull com.helger.commons.io.resource.IReadableResource aResource, @Nonnull CharSequence aFileContent)
Called when an exception of the specified type occurred- Parameters:
t- The exception. Nevernull.aResource- The resource that failed to be written to. Nevernull.aFileContent- the content that should be written to the file. Nevernull.
-
-