From: shyama ks <shy...@gm...> - 2016-03-29 14:49:11
|
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, |