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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]