Specifications

Sun Services
Java™ Programming Language
Module 8, slide 5 of 25
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision F
Exceptions
Conditions that can readily occur in a correct program
are checked exceptions.
These are represented by the Exception class.
Severe problems that normally are treated as fatal or
situations that probably reflect program bugs are
unchecked exceptions.
Fatal situations are represented by the Error class.
Probable bugs are represented by the
RuntimeException class.
The API documentation shows checked exceptions that
can be thrown from a method.