Re: [Simple-support] Error handling/capture in Transform
Brought to you by:
niallg
|
From: Niall G. <gal...@ya...> - 2013-04-17 09:36:49
|
I think a re-throw makes sense here ill take a look. --- On Wed, 17/4/13, Mike Quilleash <mik...@ju...> wrote: From: Mike Quilleash <mik...@ju...> Subject: [Simple-support] Error handling/capture in Transform To: "sim...@li..." <sim...@li...> Received: Wednesday, 17 April, 2013, 2:03 AM 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. -----Inline Attachment Follows----- ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter -----Inline Attachment Follows----- _______________________________________________ Simple-support mailing list Sim...@li... https://lists.sourceforge.net/lists/listinfo/simple-support |