commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcucchi...@apache.org
Subject svn commit: r1184948 - /commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/OgnlRuntime.java
Date Sun, 16 Oct 2011 22:38:38 GMT
Author: mcucchiara
Date: Sun Oct 16 22:38:38 2011
New Revision: 1184948

URL: http://svn.apache.org/viewvc?rev=1184948&view=rev
Log:
Downgraded exception

Modified:
    commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/OgnlRuntime.java

Modified: commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/OgnlRuntime.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/OgnlRuntime.java?rev=1184948&r1=1184947&r2=1184948&view=diff
==============================================================================
--- commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/OgnlRuntime.java
(original)
+++ commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/OgnlRuntime.java
Sun Oct 16 22:38:38 2011
@@ -748,13 +748,13 @@ public class OgnlRuntime
      * Permission will be named "invoke.<declaring-class>.<method-name>".
      */
     public static Permission getPermission( Method method )
-        throws OgnlException
+        throws CacheException
     {
         return _invokePermissionCache.get( new PermissionCacheEntry( method ) );
     }
 
     public static Object invokeMethod( Object target, Method method, Object[] argsArray )
-        throws IllegalAccessException, OgnlException, InvocationTargetException
+        throws InvocationTargetException, IllegalAccessException, CacheException
     {
         boolean syncInvoke = false;
         boolean checkPermission = false;



Mime
View raw message