|
From: <jue...@we...> - 2004-05-16 15:34:47
|
I guess we simply weren't aware that anyone is subclassing = ParametrizableViewController. It was rather meant to be used as-is; = AbstractController is the one to be subclassed. Of course nothing should = prevent you from still subclassing ParametrizableViewController, so I've = just added "throws Exception" to its "handleRequestInternal" method. =20 Juergen =20 ________________________________ Von: spr...@li... im Auftrag = von Timo Verhoeven Gesendet: Do 06.05.2004 16:03 An: spr...@li... Betreff: [Springframework-developer] ParameterizableViewController Hello, in org.springframework.web.servlet.mvc the ParameterizableViewController's handleRequestInternal method is declared without a throws clause, though the overridden method from AbstractController has a "throws Exception" clause. Regularly, after subclassing ParameterizableViewController, I end up changing my code because of the missing throws clause (e.g. because=20 RequestUtils.getRequiredIntParameter(), used in the body, has a throws clause). Is there a reason, why handleRequestInternal in ParameterizableViewController lacks the throws clause? Can it be changed? Regards, Timo ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=3Dosdnemail3 _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |