Reduce warnings in Eclipse.
TAVSERV-219: Corrected HTTP error code in some cases.