[EMAIL PROTECTED] wrote:

Here is how to have custom exception code not overwritten by
generated one, and properly generated "throws" clauses in
EJB service methods modelled with dependencides to <<ApplicationException>>
classes : in mda/project.xml, rewrite the <exceptions> tags as
<exceptions.ignore> , then you can write your custom exceptions code
in common/src/java, maven will not generate exceptions code in
common/target/src but use your common/src/java instead.


You should actually be able to have a dependency to the <<ApplicationException>> for example and just stereotype that exception as <<ExceptionRef>> and it'll generate the throws clause and not the class (you'll implement that yourself), at least this should work; if it doesn't, it's a bug.




------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user






------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to