commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gordon" <>
Subject [digester] xmlrules
Date Fri, 28 Feb 2003 00:16:18 GMT
If I have the following xmlrules and the createObject of DAOFactory
throws an exception, can I have digester continue processing the next
"dao" pattern? Currently it throws the exception and stops processing
the rest of the file.

<pattern value="dao">
    <alias attr-name="name" prop-name="DAOName" />
  <factory-create-rule classname="org.soa4j.dao.manager.DAOFactory"/>
  <set-next-rule methodname="addDAO" paramtype="java.lang.Object" />
  <pattern value="attributes">
      <alias attr-name="name" prop-name="groupName" />
    <pattern value="attribute">
      <call-method-rule methodname="setAttribute" paramcount="2" />
      <call-param-rule attrname="name" paramnumber="0" />
      <call-param-rule attrname="value" paramnumber="1" />


View raw message