aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes broder exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "broder exception" Watch "broder exception" New topic
Author

broder exception

Arun Maalik
Ranch Hand

Joined: Oct 25, 2005
Posts: 216
As we know that the overriding method must not throw checked exceptions that are new or broader than those decleared by the overriden method.

Here what does mean by the new or broader


Thanks

Arun kumar maalik
Keith Lynn
Ranch Hand

Joined: Feb 07, 2005
Posts: 2367
A new exception means an exception which is not a subclass of one listed in the superclass method's throws clause.

A broader exception means a superclass of an exception listed in the superclass method's throws clause.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: broder exception