geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r521639 - /geronimo/specs/trunk/geronimo-jacc_1.1_spec/src/main/java/javax/security/jacc/EJBMethodPermission.java
Date Fri, 23 Mar 2007 09:18:39 GMT
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);
         }
 
         /**



Mime
View raw message