operation visibility? Also, how should I represent exceptions?
Kendall Shaw <[email protected]>
| Newsgroups | gmane.comp.lang.uml.argouml.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I'm new to UML and ArgoUML. If I select private visibility for an
operation in a class diagram, I see no indication of the visibility in
the class diagram (I expect '-' to appear before the operation). Is this
a feature?
Also, how should I represent exceptions that an operation can raise? My
oreilly UML 2.0 in a nutshell book suggests adding a comment diagram
listing the exceptions anchored to the operation. I think that would
make a very cluttered model. Is there another way?
I saw somewhere someone had something like:
+ myOperation() : void {exception: MyException}
Is that kosher, and can I do it in ArgoUML?
Kendall