Package com.ginsberg.junit.exit
Class SystemExitPreventedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.SecurityException
com.ginsberg.junit.exit.SystemExitPreventedException
- All Implemented Interfaces:
Serializable
A marker exception so we know that a
System.exit() call was intercepted and prevented.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SystemExitPreventedException
public SystemExitPreventedException(int statusCode)
-
-
Method Details
-
getStatusCode
public int getStatusCode()
-