Quantcast
Viewing all articles
Browse latest Browse all 3

Answer by smac89 for Possible to raise two types of errors?

Don't try to throw all the exceptions at once, that's just pointless and serves no other purpose than to properly confuse the user. Either throw one specific exception per error found, or throw a general exception with a message that contains all the errors found.


Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>