org.springframework.boot.context.event

Class ApplicationFailedEvent

    • Constructor Detail

      • ApplicationFailedEvent

        public ApplicationFailedEvent(SpringApplication application,
                              String[] args,
                              org.springframework.context.ConfigurableApplicationContext context,
                              Throwable exception)
        Parameters:
        application - the current application
        context - the context that was being created (maybe null)
        args - the arguments the application was running with
        exception - the exception that caused the error
    • Method Detail

      • getApplicationContext

        public org.springframework.context.ConfigurableApplicationContext getApplicationContext()
        Returns:
        the context
      • getException

        public Throwable getException()
        Returns:
        the exception

Copyright © 2015 Pivotal Software, Inc.. All rights reserved.