Top Description Fields Constructors Methods
org.apache.tools.ant

public Class ExitStatusException

extends BuildException
Class Inheritance

BuildException + exit status.
Since
Ant 1.7

Field Summary

Modifier and TypeField and Description
private static final long
private int
status

Status code

Constructor Summary

AccessConstructor and Description
public
ExitStatusException(int
the associated status code
status
)

Constructs an ExitStatusException.

public
ExitStatusException(String
the associated message
msg
,
int
the associated status code
status
)

Constructs an ExitStatusException.

public
ExitStatusException(String
error message
message
,
int
exit status
status
,
Location
exit location
location
)

Construct an exit status exception with location information too

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

int
getStatus
()

Get the status code.

Inherited from org.apache.tools.ant.BuildException:
getExceptiongetLocationofsetLocationtoString

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.apache.tools.ant.BuildException.serialVersionUID.

statusback to summary
private int status

Status code

Constructor Detail

ExitStatusExceptionback to summary
public ExitStatusException(int status)

Constructs an ExitStatusException.

Parameters
status:int

the associated status code

ExitStatusExceptionback to summary
public ExitStatusException(String msg, int status)

Constructs an ExitStatusException.

Parameters
msg:String

the associated message

status:int

the associated status code

ExitStatusExceptionback to summary
public ExitStatusException(String message, int status, Location location)

Construct an exit status exception with location information too

Parameters
message:String

error message

status:int

exit status

location:Location

exit location

Method Detail

getStatusback to summary
public int getStatus()

Get the status code.

Returns:int

int