From 63013f44f3e25d5c75e6a41f27932ab2d54adf1c Mon Sep 17 00:00:00 2001 From: Steve Loughran Date: Tue, 4 Jul 2006 21:41:50 +0000 Subject: [PATCH] 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 --- .../org/apache/tools/ant/ExitStatusException.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/main/org/apache/tools/ant/ExitStatusException.java b/src/main/org/apache/tools/ant/ExitStatusException.java index 8df49dc93..9db587f44 100644 --- a/src/main/org/apache/tools/ant/ExitStatusException.java +++ b/src/main/org/apache/tools/ant/ExitStatusException.java @@ -45,6 +45,17 @@ public class ExitStatusException extends BuildException { 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. * @return int