Package org.apache.tools.ant
Class ExitException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.SecurityException
org.apache.tools.ant.ExitException
- All Implemented Interfaces:
- Serializable
Used to report exit status of classes which call System.exit().
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionExitException(int status) Constructs an exit exception.ExitException(String msg, int status) Constructs an exit exception.
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
ExitExceptionpublic ExitException(int status) Constructs an exit exception.- Parameters:
- status- the status code returned via System.exit()
 
- 
ExitExceptionConstructs an exit exception.- Parameters:
- msg- the message to be displayed.
- status- the status code returned via System.exit()
 
 
- 
- 
Method Details- 
getStatuspublic int getStatus()The status code returned by System.exit()- Returns:
- the status code returned by System.exit()
 
 
-