Package org.apache.tools.ant
Class ExitStatusException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.tools.ant.BuildException
org.apache.tools.ant.ExitStatusException
-
Constructor Summary
ConstructorDescriptionExitStatusException
(int status) Constructs anExitStatusException
.ExitStatusException
(String msg, int status) Constructs anExitStatusException
.ExitStatusException
(String message, int status, Location location) Construct an exit status exception with location information too -
Method Summary
Methods inherited from class org.apache.tools.ant.BuildException
getException, getLocation, of, setLocation, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ExitStatusException
public ExitStatusException(int status) Constructs anExitStatusException
.- Parameters:
status
- the associated status code
-
ExitStatusException
Constructs anExitStatusException
.- Parameters:
msg
- the associated messagestatus
- the associated status code
-
ExitStatusException
-
-
Method Details
-
getStatus
public int getStatus()Get the status code.- Returns:
int
-