You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by db...@apache.org on 2007/03/23 10:18:39 UTC

svn commit: r521639 - /geronimo/specs/trunk/geronimo-jacc_1.1_spec/src/main/java/javax/security/jacc/EJBMethodPermission.java

Author: dblevins
Date: Fri Mar 23 02:18:38 2007
New Revision: 521639

URL: http://svn.apache.org/viewvc?view=rev&rev=521639
Log:
Add the method interface to the exception

Modified:
    geronimo/specs/trunk/geronimo-jacc_1.1_spec/src/main/java/javax/security/jacc/EJBMethodPermission.java

Modified: geronimo/specs/trunk/geronimo-jacc_1.1_spec/src/main/java/javax/security/jacc/EJBMethodPermission.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jacc_1.1_spec/src/main/java/javax/security/jacc/EJBMethodPermission.java?view=diff&rev=521639&r1=521638&r2=521639
==============================================================================
--- geronimo/specs/trunk/geronimo-jacc_1.1_spec/src/main/java/javax/security/jacc/EJBMethodPermission.java (original)
+++ geronimo/specs/trunk/geronimo-jacc_1.1_spec/src/main/java/javax/security/jacc/EJBMethodPermission.java Fri Mar 23 02:18:38 2007
@@ -287,7 +287,7 @@
             for (int i = 0; i < methodInterfaces.length; i++) {
                 if (methodInterfaces[i].equals(methodInterface)) return;
             }
-            throw new IllegalArgumentException("Invalid method interface");
+            throw new IllegalArgumentException("Invalid method interface: " + methodInterface);
         }
 
         /**