Interface ServiceLoadExceptionHandler

  • All Implemented Interfaces:

    @FunctionalInterface()@API(status = API.Status.EXPERIMENTAL, since = "5.6") 
    public interface ServiceLoadExceptionHandler<S>
    
                        

    Service loading might fail (e.g. due to a missing dependency). This handler enables client code factor the failure handing.

    Since:

    5.6

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void handle(Class<out S> service, String className, Throwable throwable)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait