fabric.common.exceptions
Class TerminationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
fabric.common.exceptions.TerminationException
- All Implemented Interfaces:
- java.io.Serializable
public class TerminationException
- extends java.lang.RuntimeException
This exception signals termination of the Fabric node. It should be used
instead of System.exit
to allow Fabric to be started from
within a JVM that wasn't started specifically for Fabric, e.g., the Apache
ANT framework.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
exitCode
public final int exitCode
TerminationException
public TerminationException(java.lang.String msg)
TerminationException
public TerminationException(int exit)
TerminationException
public TerminationException(java.lang.String msg,
int exit)
TerminationException
public TerminationException(java.lang.Exception cause,
int exit)