Class StartupException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class StartupException
    extends java.lang.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:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      StartupException()
      Creates new StartupException without detail message.
      StartupException​(java.lang.String msg)
      Constructs an StartupException with the specified detail message.
      StartupException​(java.lang.String msg, java.lang.Throwable nested)
      Constructs an StartupException with the specified detail message and nested Exception.
      StartupException​(java.lang.Throwable nested)
      Constructs an StartupException with the specified detail message and nested Exception.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMessage()
      Returns the detail message, including the message from the nested exception if there is one.
      java.lang.String getNonNestedMessage()
      Returns the detail message, NOT including the message from the nested exception.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • StartupException

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

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

        public StartupException​(java.lang.String msg,
                                java.lang.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​(java.lang.Throwable nested)
        Constructs an StartupException with the specified detail message and nested Exception.
        Parameters:
        nested - the chained exception.
    • Method Detail

      • getMessage

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

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