public class ApplicationFailedEvent extends SpringApplicationEvent
SpringApplication
によって発行されるイベント。ApplicationReadyEvent
, 直列化された形式 sourceSE
コンストラクターと説明 |
---|
ApplicationFailedEvent(SpringApplication application, StringSE[] args, ConfigurableApplicationContext context, ThrowableSE exception) 新しい ApplicationFailedEvent インスタンスを作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
ConfigurableApplicationContext | getApplicationContext() アプリケーションコンテキストを返します。 |
ThrowableSE | getException() 失敗の原因となった例外を返します。 |
getArgs, getSpringApplication
getTimestamp
getSourceSE, toStringSE
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public ApplicationFailedEvent(SpringApplication application, StringSE[] args, ConfigurableApplicationContext context, ThrowableSE exception)
ApplicationFailedEvent
インスタンスを作成します。application
- 現在のアプリケーション args
- アプリケーションが実行されていた引数 context
- 作成されていたコンテキスト (多分 null)exception
- エラーの原因となった例外 public ConfigurableApplicationContext getApplicationContext()
public ThrowableSE getException()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.