I had a quick question around how HVRequestException and Status Codes are handled in SimpleRequestTemplate (JAXB package).
When I make a request using simpleRequestTemplate.makeRequest(<parameters>), and I deliberately revoked access, I get a "null" object as the GetThingsResponse. What I am looking for is one of 2 things
a. throw an HVRequestException with status code set to the "Status Code" received from the XML response (which I can see is available in the logs).
b. Alternately, the response code set in the getThingsResponse object returned - with the response code set to the error code received from the logs.
I see neither happening as a result of the makeRequest() call.
Is there something that I am missing - or is this functionality yet to be implemented and I need to handle the XML response on my own.
Please let me know as soon as possible.