Browse Source

adding ability to set the location when creating this

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@419108 13f79535-47bb-0310-9956-ffa450edef68
master
Steve Loughran 19 years ago
parent
commit
63013f44f3
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      src/main/org/apache/tools/ant/ExitStatusException.java

+ 11
- 0
src/main/org/apache/tools/ant/ExitStatusException.java View File

@@ -45,6 +45,17 @@ public class ExitStatusException extends BuildException {
this.status = status; this.status = status;
} }


/**
* Construct an exit status exception with location information too
* @param message error message
* @param status exit status
* @param location exit location
*/
public ExitStatusException(String message, int status, Location location) {
super(message, location);
this.status = status;
}

/** /**
* Get the status code. * Get the status code.
* @return <code>int</code> * @return <code>int</code>


Loading…
Cancel
Save