Added error message for ResourceNotFoundException