Hi Marco,


until now, we did not provide templates for exceptions. The reason is that
people have a different understanding of how the exceptions should look
like. If you want, you can let Eclipse (or your other favorite IDE) create
the exception classes (this is how I did it in the car rental sample).



Alternative: If all your exceptions look very much alike, you can write an
additional template for the Java cartridge that can generate exceptions.
Then, you will need another stereotype that tags the exception class so
that the cartridge knows it has to do something. The configuration of
which stereotype triggers which template is done in the cartridge
descirptor file "andromda-cartridge.xml".



Good luck!

Matthias Bohlen



P.S.: Se ha altre domande, vada a visitare la lista
"[EMAIL PROTECTED]". Ci si trovano altri utenti di
AndroMDA chi sono lieti di auitarla!



 --- Ursprüngliche Nachricht ---

Datum: 15.10.2003 11:25

Von: "Marco Angheben" <[EMAIL PROTECTED]>

An: <[EMAIL PROTECTED]>

Betreff: Information needing



> Hi,

> I'm an employee in an italian software factory, and I'm trying to
understand how AndroMDA works. If i've understood well the power of
AndroMDA, it should generate all the code necessary to run the application
designed with Poseidon. I've tried the tool using the model
CarRental.zuml, but I'm not able to build successfully without the
directory common (and its subdirectories and the files *Exception.java). I
would like to know if it is possible to let AndroMDA build these Exception
classes, because otherwise I can not realize how the developer can
construct these classes before building.

> I do hope my explanation was clear enough.

> Thank you, best regards

> Marco Angheben

>

>



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to