commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1370618 - /commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl2/JexlException.java
Date Wed, 08 Aug 2012 00:53:25 GMT
Author: sebb
Date: Wed Aug  8 00:53:24 2012
New Revision: 1370618

URL: http://svn.apache.org/viewvc?rev=1370618&view=rev
Log:
Restore binary compatibilty; add @since markers

Modified:
    commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl2/JexlException.java

Modified: commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl2/JexlException.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl2/JexlException.java?rev=1370618&r1=1370617&r2=1370618&view=diff
==============================================================================
--- commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl2/JexlException.java
(original)
+++ commons/proper/jexl/branches/2.0/src/main/java/org/apache/commons/jexl2/JexlException.java
Wed Aug  8 00:53:24 2012
@@ -255,11 +255,22 @@ public class JexlException extends Runti
      * @since 2.1
      */
     public static class Property extends JexlException {
+
+        /**
+         * Creates a new Property exception instance.
+         * @param node the offending ASTnode
+         * @param var the unknown variable
+         */
+        public Property(JexlNode node, String var) {
+            super(node, var);
+        }
+
         /**
          * Creates a new Property exception instance.
          * @param node the offending ASTnode
          * @param var the unknown variable
          * @param cause the exception causing the error
+         * @since 2.1.2
          */
         public Property(JexlNode node, String var, Throwable cause) {
             super(node, var, cause);
@@ -283,11 +294,22 @@ public class JexlException extends Runti
      * @since 2.1
      */
     public static class Method extends JexlException {
+
+        /**
+         * Creates a new Method exception instance.
+         * @param node the offending ASTnode
+         * @param name the unknown method
+         */
+        public Method(JexlNode node, String name) {
+            super(node, name);
+        }
+
         /**
          * Creates a new Method exception instance.
          * @param node the offending ASTnode
          * @param name the unknown method
          * @param cause the exception causing the error
+         * @since 2.1.2
          */
         public Method(JexlNode node, String name, Throwable cause) {
             super(node, name, cause);



Mime
View raw message