org.apache.tools.antClass ExitStatusException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.apache.tools.ant.BuildException
- org.apache.tools.ant.ExitStatusException
- All Implemented Interfaces:
- java.io.Serializable
public class ExitStatusException extends BuildExceptionBuildException + exit status.
- Since:
- Ant 1.7
- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor and Description ExitStatusException(int status)
Constructs anExitStatusException
.ExitStatusException(java.lang.String msg, int status)
Constructs anExitStatusException
.ExitStatusException(java.lang.String message, int status, Location location)
Construct an exit status exception with location information too
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description int
getStatus()
Get the status code.
Methods inherited from class org.apache.tools.ant.BuildException
getException, getLocation, setLocation, toString
Constructor Detail
ExitStatusException
public ExitStatusException(int status)Constructs anExitStatusException
.
- Parameters:
status
- the associated status code
ExitStatusException
public ExitStatusException(java.lang.String msg, int status)Constructs anExitStatusException
.
- Parameters:
msg
- the associated messagestatus
- the associated status code
ExitStatusException
public ExitStatusException(java.lang.String message, int status, Location location)Construct an exit status exception with location information too
- Parameters:
message
- error messagestatus
- exit statuslocation
- exit location