commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akiraleon123 <>
Subject digester ignore data mismatch exception?
Date Mon, 19 Nov 2007 20:35:34 GMT

Hi All,
 Any help is sincerely appreciated.

How can i instruct digester to ignore the data type mismatch exceptions
being caused by beanutils and proceed further?
So, from the previous xml file, though the first resource causes an

org.apache.commons.beanutils.ConversionException: For input string: "fcd"

i want to get the second resource object.

<company name="dell">

<resource value="fcd"/> <!--data type mismatch-->

<resource value="33.44"/>


My class file:

class Resource{
private BigDecimal value;
//getters, setters


View this message in context:
Sent from the Commons - User mailing list archive at

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

View raw message