Even though exception handling is common and every introductory Java course covers it, I still don't think we really know how to do it well. It is almost as if the general concept is still evolving ...
Some exceptions in Java must be handled in the developer's code. Other exceptions can occur without any exception handling semantics at all. When an exception must be handled with try-and-catch ...
The term assert is a Java keyword that was introduced into the language with the JDK 1.4 release in February 2002. Java's assert keyword is unique in two very interesting ways: The Java assert is ...