[CJ-dev] other-projects/marmalade/src/main/java/org/marmalade/el ExpressionEvaluator.java,NONE,1.1 E
Brought to you by:
johnqueso
From: John C. <joh...@co...> - 2004-03-26 05:24:30
|
Update of /cvsroot/commonjava/other-projects/marmalade/src/main/java/org/marmalade/el In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30096/src/main/java/org/marmalade/el Added Files: ExpressionEvaluator.java ExpressionEvaluationException.java Log Message: initial checkin. --- NEW FILE: ExpressionEvaluator.java --- /* Created on Mar 24, 2004 */ package org.marmalade.el; import java.util.Map; /** Represents a bridge to an expression language processor which is used to resolve * object expressions within the parsing process. * * @author John Casey */ public interface ExpressionEvaluator { public Object evaluate(String expression, Map context) throws ExpressionEvaluationException; } --- NEW FILE: ExpressionEvaluationException.java --- /* Created on Mar 24, 2004 */ package org.marmalade.el; import org.codehaus.tagalog.TagException; /** Exception signalling that an error has occurred while evaluating an expression. * * @author John Casey */ public class ExpressionEvaluationException extends TagException { /** Construct a new exception to convey failure in evaluating an expression. * @param message The message giving detailed info about this exception */ public ExpressionEvaluationException(String message) { super(message); } /** Construct a new exception to convey failure in evaluating an expression. * @param message The message giving detailed info about this exception * @param cause The root cause of this exception */ public ExpressionEvaluationException(String message, Throwable cause) { super(message, cause); } } |