Exception vs. RuntimeException

An Exception indicates a user’s error (FileNotFoundException), while a RuntimeException indicates a Programmer’s Error (IllegalStateException, UnsupportedOperationException).
Share itShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

Leave a Reply

Your email address will not be published. Required fields are marked *