Package org.apache.ofbiz.base.start
Class StartupException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.ofbiz.base.start.StartupException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorDescriptionCreates newStartupException
without detail message.StartupException
(String msg) Constructs anStartupException
with the specified detail message.StartupException
(String msg, Throwable nested) Constructs anStartupException
with the specified detail message and nested Exception.StartupException
(Throwable nested) Constructs anStartupException
with the specified detail message and nested Exception. -
Method Summary
Modifier and TypeMethodDescriptionReturns the detail message, including the message from the nested exception if there is one.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
-
Constructor Details
-
StartupException
public StartupException()Creates newStartupException
without detail message. -
StartupException
Constructs anStartupException
with the specified detail message.- Parameters:
msg
- the detail message.
-
StartupException
Constructs anStartupException
with the specified detail message and nested Exception.- Parameters:
msg
- the detail message.nested
- the chained exception.
-
StartupException
Constructs anStartupException
with the specified detail message and nested Exception.- Parameters:
nested
- the chained exception.
-
-
Method Details
-
getMessage
Returns the detail message, including the message from the nested exception if there is one.- Overrides:
getMessage
in classThrowable
-
getNonNestedMessage
Returns the detail message, NOT including the message from the nested exception.
-