[ http://jira.andromda.org/browse/SPRING-172?page=comments#action_12744 ] 

Chad Brandon commented on SPRING-172:
-------------------------------------

"This is very unpleasent and really not needed." That's not a very good 
argument of why the throws clause shouldn't be there.  Can you give a better 
reason why?  The reason we have it, is that we don't have to worry about 
handling exceptions unless we want to (the service base will do it for us).  
You'll have to give a strong argument of why this should be removed, but I like 
it the way we have it :)

> Eleminate excesive use of throws Exception in base and implementation classes
> -----------------------------------------------------------------------------
>
>          Key: SPRING-172
>          URL: http://jira.andromda.org/browse/SPRING-172
>      Project: Spring Cartridge
>         Type: Improvement

>     Versions: 3.2-RC1
>     Reporter: Patrik Jurica
>     Assignee: Chad Brandon
>     Priority: Minor
>  Attachments: SpringServiceBase.vsl, SpringServiceImpl.vsl
>
> Service base and implementation classes declare always "throws Exception" for 
> implementation service methods. This is very unpleasent and really not 
> needed. I suggest these declaration should declare the same exceptions as in 
> the interface of the service.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.andromda.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

Reply via email to