I am wondering if it is possible when describing a class in the "model.uml" format that as part of the definition of the method you can define what exceptions are thrown by the method for example:
You cannot di this currently. If you want to add this you need to:
- chnage the .uml parser to accept a syntax for exceptions
- change the octopus UML metamodel to enable it to store exceptions
- change the code generation to generate exception statements
Jos
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am wondering if it is possible when describing a class in the "model.uml" format that as part of the definition of the method you can define what exceptions are thrown by the method for example:
+ <class> Application
<operations>
+ DoSomething(): Boolean throws ApplicationException;
<endclass>
You cannot di this currently. If you want to add this you need to:
- chnage the .uml parser to accept a syntax for exceptions
- change the octopus UML metamodel to enable it to store exceptions
- change the code generation to generate exception statements
Jos