[Simple-support] Error handling/capture in Transform
Brought to you by:
niallg
|
From: Mike Q. <mik...@ju...> - 2013-04-17 09:21:47
|
Hi all, Using version 2.7 When binding to a BigDecimal object and the content of the relevant XML attribute is not parsable to a BigDecimal then the BigDecimalTransfrom throws a NumberFormatException. However this exception alone is not very useful for locating the problem because there is no location information, such as the attribute name, line number etc available anywhere to trace the problem. Is it possible to trap this exception somewhere and re-throw the exception with more information appended? Or some other approach to improve the error message in this case? Thanks. |