Interface EventExceptionHandler

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 EventExceptionHandler
  • Method Details

    • handle

      Throwable handle(KubeEvent event, EventHandlerContainer container, Throwable ex)
      Handles an exception thrown by an event handler.
      Parameters:
      event - The event being posted
      container - The event handler container that threw the exception
      ex - The exception that was thrown
      Returns:
      null if the exception could be recovered from, otherwise the exception that should be rethrown