Will it be called overriding if I do not change the
parameters or return type, instead throw a different
exception in the method signature.

Answer Posted / surendra

the overriding method can throw narrow exceptions than overridden exception

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you need to set-up a cluster with jboss?

577


What are the steps to write p-to-p model application?

1963


A user of a web application sees a jsessionid argument in the URL whenever a resource is accessed. What does this mean? a. The form must have the field jsessionid b. URL rewriting is used as the session method c. Cookies are used for managing sessions

1815


Can I have an action without a form?

598


Is there a guarantee of uniqueness for entity beans?

572






What are the diff types of exception?

563


Can I use javascript to submit a form?

615


Where can I ask questions and make suggestions about seam?

592


Why do I get a duplicate name error when loading a jar file?

546


What is difference between object state and behavior?

583


What is the difference between the session.get() method and the session.load() method?

602


Why is string immutable in java?

581


In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?

2158


Where we can write Rmi registry in the code, without having to write it at the command prompt?

2262


Where can I find seam examples and documentation?

567