Exceptions and Errors
摘要
In an ideal world, nothing bad ever happens when an application runs. For example, a file always exists when the application needs to open the file, the application is always able to connect to a remote computer, and the Java Virtual Machine (JVM) never runs out of memory when the application needs to instantiate objects.