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

ExitStatusException

public class ExitStatusException extends BuildException
BuildException + exit status.
since
Ant 1.7

Fields Summary
private int
status
Status code
Constructors Summary
public ExitStatusException(int status)
Constructs an ExitStatusException.

param
status the associated status code

        super();
        this.status = status;
    
public ExitStatusException(String msg, int status)
Constructs an ExitStatusException.

param
msg the associated message
param
status the associated status code

        super(msg);
        this.status = status;
    
public ExitStatusException(String message, int status, Location location)
Construct an exit status exception with location information too

param
message error message
param
status exit status
param
location exit location

        super(message, location);
        this.status = status;
    
Methods Summary
public intgetStatus()
Get the status code.

return
int

        return status;