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.
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

Method Detail

getStatus

public int getStatus()
Get the status code.

Returns: int

Copyright B) 2000-2007 Apache Software Foundation. All Rights Reserved.