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

    Modifier and Type
    Method
    Description
    void
    onDAOReadException(Throwable t, boolean bInit, com.helger.commons.io.resource.IReadableResource aResource)
    Called when an exception of the specified type occurred
  • Method Details

    • 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. Never null.
      bInit - true if it is an init action false if it is a read action.
      aResource - The resource that failed. May be null if no file is defined.