rest api error handling example java