Class ApplicationFailedEvent

All Implemented Interfaces:
Serializable

public class ApplicationFailedEvent extends SpringApplicationEvent
Event published by a SpringApplication when it fails to start.
Since:
1.0.0
Author:
Dave Syer
See Also:
  • Constructor Details

  • Method Details

    • getApplicationContext

      public @Nullable ConfigurableApplicationContext getApplicationContext()
      Return the application context.
      Returns:
      the context or null
    • getException

      public Throwable getException()
      Return the exception that caused the failure.
      Returns:
      the exception