Return-Path: Delivered-To: apmail-commons-commits-archive@locus.apache.org Received: (qmail 27138 invoked from network); 25 Oct 2007 21:13:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Oct 2007 21:13:14 -0000 Received: (qmail 8454 invoked by uid 500); 25 Oct 2007 21:09:53 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 8391 invoked by uid 500); 25 Oct 2007 21:09:53 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 8381 invoked by uid 99); 25 Oct 2007 21:09:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Oct 2007 14:09:53 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Oct 2007 21:10:01 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A91B81A9832; Thu, 25 Oct 2007 14:09:41 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r588358 - in /commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/util/introspection: Uberspect.java UberspectImpl.java Date: Thu, 25 Oct 2007 21:09:41 -0000 To: commits@commons.apache.org From: dion@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071025210941.A91B81A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: dion Date: Thu Oct 25 14:09:40 2007 New Revision: 588358 URL: http://svn.apache.org/viewvc?rev=588358&view=rev Log: remove throws exception Modified: commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/util/introspection/Uberspect.java commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/util/introspection/UberspectImpl.java Modified: commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/util/introspection/Uberspect.java URL: http://svn.apache.org/viewvc/commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/util/introspection/Uberspect.java?rev=588358&r1=588357&r2=588358&view=diff ============================================================================== --- commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/util/introspection/Uberspect.java (original) +++ commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/util/introspection/Uberspect.java Thu Oct 25 14:09:40 2007 @@ -30,18 +30,16 @@ public interface Uberspect { /** * Initializer - will be called before use. - * @throws Exception on any error. */ - void init() throws Exception; + void init(); /** * To support iteratives - #foreach(). * @param info template info. * @param obj to get the iterator for. - * @throws Exception on any error. * @return an iterator over obj. */ - Iterator getIterator(Object obj, Info info) throws Exception; + Iterator getIterator(Object obj, Info info); /** * Returns a general method, corresponding to $foo.bar( $woogie ). @@ -49,10 +47,9 @@ * @param method the method name * @param args method arguments * @param info template info - * @throws Exception on any error. * @return a {@link VelMethod}. */ - VelMethod getMethod(Object obj, String method, Object[] args, Info info) throws Exception; + VelMethod getMethod(Object obj, String method, Object[] args, Info info); /** * Property getter - returns VelPropertyGet appropos for #set($foo = @@ -60,10 +57,9 @@ * @param obj the object to get the property from. * @param identifier property name * @param info template info - * @throws Exception on any error. * @return a {@link VelPropertyGet}. */ - VelPropertyGet getPropertyGet(Object obj, String identifier, Info info) throws Exception; + VelPropertyGet getPropertyGet(Object obj, String identifier, Info info); /** * Property setter - returns VelPropertySet appropos for #set($foo.bar = @@ -72,8 +68,7 @@ * @param identifier property name * @param arg value to set. * @param info template info - * @throws Exception on any error. * @return a {@link VelPropertySet}. */ - VelPropertySet getPropertySet(Object obj, String identifier, Object arg, Info info) throws Exception; + VelPropertySet getPropertySet(Object obj, String identifier, Object arg, Info info); } Modified: commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/util/introspection/UberspectImpl.java URL: http://svn.apache.org/viewvc/commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/util/introspection/UberspectImpl.java?rev=588358&r1=588357&r2=588358&view=diff ============================================================================== --- commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/util/introspection/UberspectImpl.java (original) +++ commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/util/introspection/UberspectImpl.java Thu Oct 25 14:09:40 2007 @@ -60,9 +60,8 @@ * init - does nothing - we need to have setRuntimeLogger called before * getting our introspector, as the default vel introspector depends upon * it. - * @throws Exception on any error. */ - public void init() throws Exception { + public void init() { } /** @@ -78,7 +77,7 @@ /** * {@inheritDoc} */ - public Iterator getIterator(Object obj, Info i) throws Exception { + public Iterator getIterator(Object obj, Info i) { if (obj.getClass().isArray()) { return new ArrayIterator(obj); } else if (obj instanceof Collection) { @@ -109,7 +108,7 @@ /** * {@inheritDoc} */ - public VelMethod getMethod(Object obj, String methodName, Object[] args, Info i) throws Exception { + public VelMethod getMethod(Object obj, String methodName, Object[] args, Info i) { if (obj == null) { return null; } @@ -125,7 +124,7 @@ /** * {@inheritDoc} */ - public VelPropertyGet getPropertyGet(Object obj, String identifier, Info i) throws Exception { + public VelPropertyGet getPropertyGet(Object obj, String identifier, Info i) { AbstractExecutor executor; Class claz = obj.getClass(); @@ -158,7 +157,7 @@ /** * {@inheritDoc} */ - public VelPropertySet getPropertySet(Object obj, String identifier, Object arg, Info i) throws Exception { + public VelPropertySet getPropertySet(Object obj, String identifier, Object arg, Info i) { Class claz = obj.getClass(); VelMethod vm = null;