Interface IExceptionCallback<EXTYPE extends Throwable>

Type Parameters:
EXTYPE - The exception type to be handled
All Superinterfaces:
ICallback
All Known Implementing Classes:
CollectingExceptionCallback, CollectingExceptionListCallback, LoggingExceptionCallback
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 IExceptionCallback<EXTYPE extends Throwable> extends ICallback
Callback interface to handle thrown exception objects.
Author:
Philip Helger
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when an exception of the specified type occurred.
  • Method Details

    • onException

      void onException(@Nonnull EXTYPE ex)
      Called when an exception of the specified type occurred. You may not re-throw the exception from in here!
      Parameters:
      ex - The exception. Never null.