commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank Cornelis (JIRA)" <>
Subject [jira] Created: (JELLY-206) cannot nest catch tags
Date Tue, 29 Mar 2005 15:37:16 GMT
cannot nest catch tags

         Key: JELLY-206
     Project: jelly
        Type: Bug
  Components: core / taglib.core  
    Versions: 1.0-RC2    
 Environment: jelly:junit test
    Reporter: Frank Cornelis

The outer tag does not receive the 'rethrown' exception. How come?

<?xml version="1.0"?>
  <test:case name="nested exceptions" xmlns:my="mytaglib">
  	<define:taglib uri="mytaglib">
  		<define:tag name="mytag">
	  			<j:catch var="ex">
	  			<log:info>mytag ${name} after catch block exception: ${ex}</log:info>
	  			<j:if test="${ex != null}">
	  				<log:debug>exception was caught !!!</log:debug>
	  				<test:fail>rethrowing the exception</test:fail>
	  				<log:debug>CANNOT REACH THIS POINT !!!</log:debug>
  	<my:mytag name="outer">
  		<my:mytag name="inner">


This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message