ObeoNetwork/UML-Java-Generation — pull request #3 by lbroudoux (2012-12-11 23:47:53+00:00)
Title: Adding support for exceptions within operations signatures and imports

Hello,

Just an enhancement on operation signature generation in order to generate exceptions raised by operation. The exception types may also appear into class or interface imports once an owned operation raise an exception.

I've done this improvement on the R_1.0 branch before but tried to port it to the master one that is now using UML 4.0.0. Generator is missing core features but I've selected the templates necessary from the R_1.0 branch in order to test this improvement.

Addition have been done to the NonRegressionModel.uml testing model in order to check the result. The remaining issue is the mean to specifiy an Exception using standard UML ; I think this is not part of Standard profile so that I cannot really generate a class extending java.lang.Exception ...

Hope it'll help ...