Interface ClassGraph.FailureHandler

Enclosing class:
ClassGraph
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 static interface ClassGraph.FailureHandler
A callback used to handle failure during an asynchronous scan.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onFailure(Throwable throwable)
    Called on scanning failure during an asynchronous scan.
  • Method Details

    • onFailure

      void onFailure(Throwable throwable)
      Called on scanning failure during an asynchronous scan.
      Parameters:
      throwable - the Throwable that was thrown during scanning.