You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2013/07/04 11:11:12 UTC
svn commit: r1499697 - /tomcat/trunk/java/javax/el/ExpressionFactory.java
Author: markt
Date: Thu Jul 4 09:11:11 2013
New Revision: 1499697
URL: http://svn.apache.org/r1499697
Log:
EL 3.0
More cosmetic changes to make API diff smaller
Modified:
tomcat/trunk/java/javax/el/ExpressionFactory.java
Modified: tomcat/trunk/java/javax/el/ExpressionFactory.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/el/ExpressionFactory.java?rev=1499697&r1=1499696&r2=1499697&view=diff
==============================================================================
--- tomcat/trunk/java/javax/el/ExpressionFactory.java (original)
+++ tomcat/trunk/java/javax/el/ExpressionFactory.java Thu Jul 4 09:11:11 2013
@@ -216,20 +216,33 @@ public abstract class ExpressionFactory
return result;
}
+ /**
+ * @throws NullPointerException
+ * If the expected type is <code>null</code>
+ * @throws ELException
+ * If there are syntax errors in the provided expression
+ */
public abstract ValueExpression createValueExpression(ELContext context,
- String expression, Class<?> expectedType)
- throws NullPointerException, ELException;
+ String expression, Class<?> expectedType);
public abstract ValueExpression createValueExpression(Object instance,
Class<?> expectedType);
+ /**
+ * @throws NullPointerException
+ * If the expected parameters types are <code>null</code>
+ * @throws ELException
+ * If there are syntax errors in the provided expression
+ */
public abstract MethodExpression createMethodExpression(ELContext context,
String expression, Class<?> expectedReturnType,
- Class<?>[] expectedParamTypes) throws ELException,
- NullPointerException;
+ Class<?>[] expectedParamTypes);
- public abstract Object coerceToType(Object obj, Class<?> expectedType)
- throws ELException;
+ /**
+ * @throws ELException
+ * If the conversion fails
+ */
+ public abstract Object coerceToType(Object obj, Class<?> expectedType);
/**
* @since EL 3.0
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org