add an exception while data return is not expected