pradeepsjsu / beanio

Automatically exported from code.google.com/p/beanio
Apache License 2.0
0 stars 0 forks source link

Better error messages #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?  If applicable, please provide a
mapping configuration and sample record input to recreate the problem.
1. Any invalid configuration or input file

What is the expected output? What do you see instead?
On any invalid configuration, BeanIO throw error messages which could bring 
more information about the invalid record or field like expected value, current 
value literal, full record line, etc

What version of BeanIO are you using? What JDK version?
BeanIO 1.2.2

Original issue reported on code.google.com by mikhas.rock on 13 Jan 2012 at 6:12

GoogleCodeExporter commented 9 years ago
Hi Mikhas, are you referring to record validation exceptions (i.e. 
InvalidRecordException)?  BeanIO allows you customize all record and field 
level validations, and currently includes the expected literal, regex, min/max 
length etc.  Full record text is not exposed, but is something I might be able 
to add.

Original comment by kevin.s...@gmail.com on 14 Jan 2012 at 3:31

GoogleCodeExporter commented 9 years ago

Original comment by kevin.s...@gmail.com on 14 Jan 2012 at 4:05

GoogleCodeExporter commented 9 years ago
Unless more specific recommendations are provided, this issue will be closed.

Original comment by kevin.s...@gmail.com on 26 Jan 2012 at 5:26

GoogleCodeExporter commented 9 years ago
Closed without further information.

Original comment by kevin.s...@gmail.com on 6 Feb 2012 at 12:44