Should a web service return an exception or an empty result when data is not found? -


Will a web service return an exception or empty result if the data is not received?

If a data is a general and acceptable result (as is normal), then Empty the results set. If there is an error / exception, you should only return one exception.


Comments