类 ApplicationFailedEvent

所有已实现的接口:
Serializable

public class ApplicationFailedEvent extends SpringApplicationEvent
Event published by a SpringApplication when it fails to start.
从以下版本开始:
1.0.0
作者:
Dave Syer
另请参阅:
  • 构造器详细资料

  • 方法详细资料

    • getApplicationContext

      public ConfigurableApplicationContext getApplicationContext()
      Return the application context.
      返回:
      the context
    • getException

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