org.springframework.boot.devtools.restart

Interface FailureHandler

  • 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 FailureHandler
    Strategy used to handle launch failures.
    Since:
    1.3.0
    Author:
    Phillip Webb
    • Method Detail

      • handle

        FailureHandler.Outcome handle(Throwable failure)
        Handle a run failure. Implementations may block, for example to wait until specific files are updated.
        Parameters:
        failure - the exception
        Returns:
        the outcome