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:
- java.io.Serializable
 
 public class ExitException extends java.lang.SecurityExceptionUsed to report exit status of classes which call System.exit().- See Also:
- NoExitSecurityManager,- Permissions, Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description ExitException(int status)Constructs an exit exception.ExitException(java.lang.String msg, int status)Constructs an exit exception.
 - 
Method SummaryModifier and Type Method Description intgetStatus()The status code returned by System.exit()
 
- 
- 
- 
Constructor Detail- 
ExitExceptionpublic ExitException(int status) Constructs an exit exception.- Parameters:
- status- the status code returned via System.exit()
 
 - 
ExitExceptionpublic ExitException(java.lang.String msg, int status)Constructs an exit exception.- Parameters:
- msg- the message to be displayed.
- status- the status code returned via System.exit()
 
 
- 
 
-