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:
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 newStartupException
without detail message.StartupException(java.lang.String msg)
Constructs anStartupException
with the specified detail message.StartupException(java.lang.String msg, java.lang.Throwable nested)
Constructs anStartupException
with the specified detail message and nested Exception.StartupException(java.lang.Throwable nested)
Constructs anStartupException
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.
-
-
-
Constructor Detail
-
StartupException
public StartupException()
Creates newStartupException
without detail message.
-
StartupException
public StartupException(java.lang.String msg)
Constructs anStartupException
with the specified detail message.- Parameters:
msg
- the detail message.
-
StartupException
public StartupException(java.lang.String msg, java.lang.Throwable nested)
Constructs anStartupException
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 anStartupException
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 classjava.lang.Throwable
-
getNonNestedMessage
public java.lang.String getNonNestedMessage()
Returns the detail message, NOT including the message from the nested exception.
-
-