ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r419108 - /ant/core/trunk/src/main/org/apache/tools/ant/ExitStatusException.java
Date Tue, 04 Jul 2006 21:41:50 GMT
Author: stevel
Date: Tue Jul  4 14:41:50 2006
New Revision: 419108

URL: http://svn.apache.org/viewvc?rev=419108&view=rev
Log:
adding ability to set the location when creating this

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/ExitStatusException.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/ExitStatusException.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/ExitStatusException.java?rev=419108&r1=419107&r2=419108&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/ExitStatusException.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/ExitStatusException.java Tue Jul  4 14:41:50
2006
@@ -46,6 +46,17 @@
     }
 
     /**
+     * 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 <code>int</code>
      */



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message