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 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. Never null.
        aResource - The resource that failed to be written to. Never null.
        aFileContent - the content that should be written to the file. Never null.