类 SpringApplication.AbandonedRunException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.boot.SpringApplication.AbandonedRunException
所有已实现的接口:
Serializable
封闭类:
SpringApplication

public static class SpringApplication.AbandonedRunException extends RuntimeException
Exception that can be thrown to silently exit a running SpringApplication without handling run failures.
从以下版本开始:
3.0.0
另请参阅:
  • 构造器详细资料

  • 方法详细资料

    • getApplicationContext

      public ConfigurableApplicationContext getApplicationContext()
      Return the application context that was available when the run was abandoned or null if no context was available.
      返回:
      the application context