Class StartupException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.ofbiz.base.start.StartupException
All Implemented Interfaces:
Serializable

public final class StartupException extends Exception
StartupException is an exception that is thrown when something wrong happens during executing any OFBiz high level commands. If StartupException is not handled then it will bubble up to main and lead to system termination.
See Also:
  • Constructor Details

    • StartupException

      public StartupException()
      Creates new StartupException without detail message.
    • StartupException

      public StartupException(String msg)
      Constructs an StartupException with the specified detail message.
      Parameters:
      msg - the detail message.
    • StartupException

      public StartupException(String msg, Throwable nested)
      Constructs an StartupException with the specified detail message and nested Exception.
      Parameters:
      msg - the detail message.
      nested - the chained exception.
    • StartupException

      public StartupException(Throwable nested)
      Constructs an StartupException with the specified detail message and nested Exception.
      Parameters:
      nested - the chained exception.
  • Method Details

    • getMessage

      public String getMessage()
      Returns the detail message, including the message from the nested exception if there is one.
      Overrides:
      getMessage in class Throwable
    • getNonNestedMessage

      public String getNonNestedMessage()
      Returns the detail message, NOT including the message from the nested exception.