From: Vance K. <va...@us...> - 2006-01-10 08:11:18
|
User: vancek Date: 06/01/10 00:11:09 Modified: andromda-ejb3/src/main/resources/templates/ejb3 SessionBean.vsl SessionBeanImpl.vsl Log: use throwsClause for business operations Revision Changes Path 1.4 +1 -1 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/SessionBean.vsl Index: SessionBean.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/templates/ejb3/SessionBean.vsl,v retrieving revision 1.3 retrieving revision 1.4 diff -u -w -r1.3 -r1.4 --- SessionBean.vsl 6 Jan 2006 13:49:34 -0000 1.3 +++ SessionBean.vsl 10 Jan 2006 08:11:09 -0000 1.4 @@ -253,7 +253,7 @@ #* *##end #* *##set ($returnType = $operation.returnType.fullyQualifiedName) #* *##if ($operation.exceptionsPresent) - $visibility abstract $returnType $operation.signature throws $operation.exceptionList; + $visibility abstract $returnType $operation.signature $operation.throwsClause; #* *##else $visibility abstract $returnType $operation.signature; #* *##end 1.4 +1 -1 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/SessionBeanImpl.vsl Index: SessionBeanImpl.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/templates/ejb3/SessionBeanImpl.vsl,v retrieving revision 1.3 retrieving revision 1.4 diff -u -w -r1.3 -r1.4 --- SessionBeanImpl.vsl 6 Jan 2006 13:50:35 -0000 1.3 +++ SessionBeanImpl.vsl 10 Jan 2006 08:11:09 -0000 1.4 @@ -58,7 +58,7 @@ */ $visibility $returnType $signature #* *##if ($operation.exceptionsPresent) - throws $operation.exceptionList + $operation.throwsClause #* *##end { //TODO: put your implementation here. |