FileDocCategorySizeDatePackage
ExitException.javaAPI DocApache Ant 1.701849Wed Dec 13 06:16:18 GMT 2006org.apache.tools.ant

ExitException

public class ExitException extends SecurityException
Used to report exit status of classes which call System.exit().
see
org.apache.tools.ant.util.optional.NoExitSecurityManager
see
org.apache.tools.ant.types.Permissions

Fields Summary
private int
status
Status code
Constructors Summary
public ExitException(int status)
Constructs an exit exception.

param
status the status code returned via System.exit()

        super("ExitException: status " + status);
        this.status = status;
    
public ExitException(String msg, int status)
Constructs an exit exception.

param
msg the message to be displayed.
param
status the status code returned via System.exit()

        super(msg);
        this.status = status;
    
Methods Summary
public intgetStatus()
The status code returned by System.exit()

return
the status code returned by System.exit()

        return status;