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

Shyama Sharma,
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
Resteasy-users mailing list

Reply via email to