org.apache.tools.ant

Class ExitStatusException

public class ExitStatusException extends BuildException

BuildException + exit status.

Since: Ant 1.7

Constructor Summary
ExitStatusException(int status)
Constructs an ExitStatusException.
ExitStatusException(String msg, int status)
Constructs an ExitStatusException.
ExitStatusException(String message, int status, Location location)
Construct an exit status exception with location information too
Method Summary
intgetStatus()
Get the status code.

Constructor Detail

ExitStatusException

public ExitStatusException(int status)
Constructs an ExitStatusException.

Parameters: status the associated status code

ExitStatusException

public ExitStatusException(String msg, int status)
Constructs an ExitStatusException.

Parameters: msg the associated message status the associated status code

ExitStatusException

public ExitStatusException(String message, int status, Location location)
Construct an exit status exception with location information too

Parameters: message error message status exit status location exit location

Method Detail

getStatus

public int getStatus()
Get the status code.

Returns: int