org.apache.tools.ant

Class ExitStatusException


public class ExitStatusException
extends BuildException

BuildException + exit status.
Since:
Ant 1.7

Constructor Summary

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

Method Summary

int
getStatus()
Get the status code.

Methods inherited from class org.apache.tools.ant.BuildException

getCause, getException, getLocation, printStackTrace, printStackTrace, printStackTrace, setLocation, toString

Constructor Details

ExitStatusException

public ExitStatusException(String msg,
                           int status)
Constructs an ExitStatusException.
Parameters:
msg - the associated message
status - the associated status code

ExitStatusException

public ExitStatusException(int status)
Constructs an ExitStatusException.
Parameters:
status - the associated status code

Method Details

getStatus

public int getStatus()
Get the status code.
Returns:
int

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