commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hans Gilde (JIRA)" <commons-...@jakarta.apache.org>
Subject [jira] Created: (JELLY-163) Allow Expressions to throw exceptions
Date Mon, 15 Nov 2004 01:32:27 GMT
Allow Expressions to throw exceptions
-------------------------------------

         Key: JELLY-163
         URL: http://nagoya.apache.org/jira/browse/JELLY-163
     Project: jelly
        Type: Improvement
  Components: core / taglib.core  
    Versions: 1.1-beta-1    
    Reporter: Hans Gilde


Per a recent email from Paul Libbrecht, we should allow expressions to throw an exception.
Currently, the Expression interface doesn't throw exceptions.

Issues:

* currently, the script evaluation isn't terminated because of an expression exception. should
it be? by default, I mean. could this be another flag in the environment?
* should the tag itself be given a way to intercept exceptions from Expressions? Expressions
are evaluated before the tag is run, so it normally wouldn't know anything about them.


Email from Paul Libbrecht [paul@dfki.de]:
~~~~~~~~~~~~~~~~~~~~~~~~
Hi,


One of the most frustrating place in jelly, to my taste, is when a jexl exception occurs...
Jelly complains (at least with good logging
settings) but does not throw. Moreover, this complaint doesn't have a jelly line-number which
makes it somewhat hard.

Is there really any wish that such an exception is not thrown ?

thanks

paul
~~~~~~~~~~~~~~~~~~~~~~~~~~~

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message