You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mc...@apache.org on 2011/10/17 00:38:38 UTC
svn commit: r1184948 -
/commons/proper/ognl/branches/new-cache-approach/src/main/java/org/apache/commons/ognl/OgnlRuntime.java
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;