Package com.nomagic.runtime
Class ApplicationExitedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.nomagic.runtime.ApplicationExitedException
- All Implemented Interfaces:
Serializable
This exception is thrown if application must exit.
- See Also:
-
Constructor Summary
ConstructorDescriptionApplicationExitedException
(byte applicationExitCode) Constructs ApplicationExitedException with given exit code. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ApplicationExitedException
public ApplicationExitedException(byte applicationExitCode) Constructs ApplicationExitedException with given exit code.- Parameters:
applicationExitCode
- The given exit code.
-
-
Method Details
-
getApplicationExitCode
public byte getApplicationExitCode()Get the exit code.- Returns:
- The exit code.
-