public class ApplicationFailedEvent extends SpringApplicationEvent
SpringApplication when it fails to start.source| Constructor and Description |
|---|
ApplicationFailedEvent(SpringApplication application,
String[] args,
ConfigurableApplicationContext context,
Throwable exception) |
| Modifier and Type | Method and Description |
|---|---|
ConfigurableApplicationContext |
getApplicationContext() |
Throwable |
getException() |
getArgs, getSpringApplicationgetTimestampgetSource, toStringpublic ApplicationFailedEvent(SpringApplication application, String[] args, ConfigurableApplicationContext context, Throwable exception)
application - the current applicationcontext - the context that was being created (maybe null)args - the arguments the application was running withexception - the exception that caused the errorpublic ConfigurableApplicationContext getApplicationContext()
public Throwable getException()
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.