Hi Team,

In REST API implementation with Bean validation enabled, in case we send a
garbage value for BigDecimal data type, same is converted into a null value
in JAXB class.
For our application we need to throw error in case of garbage value
scenario, but no error to be thrown in case the value is not provided. But
default behavior of resteasy for garbage value and for no value, JAXB class
hold the null value for that element.
Is there any way in which we can differentiate these two scenario and throw
error accordingly.

resteasy version: 2.3.2
We are using JBOSS EAP 6.1 as application server

-- 
Thanks,
Shyama Sharma,
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
Resteasy-users mailing list
Resteasy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/resteasy-users

Reply via email to