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;