Class StartupException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.elasticsearch.bootstrap.StartupException
All Implemented Interfaces:
Serializable

public final class StartupException extends Exception
A wrapper for exceptions occurring during startup.

The stacktrack of a startup exception may be truncated if it is from Guice, which can have a large number of stack frames.

See Also:
  • Constructor Details

    • StartupException

      public StartupException(Throwable cause)
  • Method Details

    • printStackTrace

      public void printStackTrace(PrintStream err)
      Prints a stacktrace for an exception to a print stream, possibly truncating.
      Overrides:
      printStackTrace in class Throwable
      Parameters:
      err - The error stream to print the stacktrace to