Specifications
Sun Services
Java™ Programming Language
Module 8, slide 15 of 25
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved. Sun Services, Revision F
Method Overriding and Exceptions
The overriding method can throw:
• No exceptions
• One or more of the exceptions thrown by the
overridden method
• One or more subclasses of the exceptions thrown by the
overridden method
The overriding method cannot throw:
• Additional exceptions not thrown by the overridden
method
• Superclasses of the exceptions thrown by the
overridden method










