Home » Modeling » UML2 » How to model "Exception throwing" for operartion in uml 2 class diagram
| |
Re: How to model "Exception throwing" for operartion in uml 2 class diagram [message #471657 is a reply to message #471653] |
Mon, 19 March 2007 05:54 |
Eclipse User |
|
|
|
Originally posted by: cdNs25100.yahoo.com
Thank James,
I read those messages, but I feel it is not going to solve my problem
I am further specifying my problem below,
I want to model a class diagram with a method called "ReadMyFile" and that
method throws the FileNotFoundException exception (that is built in java
exception).
So, How can I model java FileNotFoundException exception, It is better if
you can give answer related to RSM modeling.
I am specifying some RSM related exception handling tips below,
1. There is a property for method parameters in RSM called "Is Exception".
2. Also, there is another property for a method called "raised exception"
Thanks.
|
|
|
Re: How to model "Exception throwing" for operartion in uml 2 class diagram [message #471731 is a reply to message #471657] |
Mon, 19 March 2007 21:45 |
james bruck Messages: 1724 Registered: July 2009 |
Senior Member |
|
|
From RSM if you visualize your java class, you will get a "disruptable"
combined fragment for exceptions but this is a RSM customization and not
part of the official spec. You might want to try visualization of your
class to get a customized sequence diagram.
Apart from what is described in the old newsgroup regarding modeling
exception handling, I'm not aware of any other better (standard) way of
modelling exceptions. Why are those tips from the old newsgroup not
sufficient for you?
I think that modelling exceptions is a sore point for UML in general.
Regards,
- James.
"RSM User" <cdNs25100@yahoo.com> wrote in message
news:19c1d92f894779ba87ce2016113f864d$1@www.eclipse.org...
> Thank James,
>
> I read those messages, but I feel it is not going to solve my problem
>
> I am further specifying my problem below,
> I want to model a class diagram with a method called "ReadMyFile" and that
> method throws the FileNotFoundException exception (that is built in java
> exception).
>
> So, How can I model java FileNotFoundException exception, It is better if
> you can give answer related to RSM modeling.
>
> I am specifying some RSM related exception handling tips below,
>
> 1. There is a property for method parameters in RSM called "Is Exception".
> 2. Also, there is another property for a method called "raised exception"
>
> Thanks.
>
|
|
|
Re: How to model "Exception throwing" for operartion in uml 2 class diagram [message #471732 is a reply to message #471731] |
Tue, 20 March 2007 00:27 |
Rafael Chaves Messages: 362 Registered: July 2009 |
Senior Member |
|
|
In this specific scenario, where a user wants to structurally model an
operation and the exceptions it throws, I actually can't see what is
lacking. The raisedExceptions property seems to be good enough. Or am I
missing something?
It seems that what the OP wants is easily doable with UML2. The issue
here steems from the fact that the OP actually wants help on how to do
that with RSM, and that kind of question certainly does not belong to
this forum, and should be asked elsewhere.
Rafael
James Bruck wrote:
> From RSM if you visualize your java class, you will get a "disruptable"
> combined fragment for exceptions but this is a RSM customization and not
> part of the official spec. You might want to try visualization of your
> class to get a customized sequence diagram.
>
> Apart from what is described in the old newsgroup regarding modeling
> exception handling, I'm not aware of any other better (standard) way of
> modelling exceptions. Why are those tips from the old newsgroup not
> sufficient for you?
>
> I think that modelling exceptions is a sore point for UML in general.
>
> Regards,
>
> - James.
>
>
> "RSM User" <cdNs25100@yahoo.com> wrote in message
> news:19c1d92f894779ba87ce2016113f864d$1@www.eclipse.org...
>> Thank James,
>>
>> I read those messages, but I feel it is not going to solve my problem
>>
>> I am further specifying my problem below,
>> I want to model a class diagram with a method called "ReadMyFile" and that
>> method throws the FileNotFoundException exception (that is built in java
>> exception).
>>
>> So, How can I model java FileNotFoundException exception, It is better if
>> you can give answer related to RSM modeling.
>>
>> I am specifying some RSM related exception handling tips below,
>>
>> 1. There is a property for method parameters in RSM called "Is Exception".
>> 2. Also, there is another property for a method called "raised exception"
>>
>> Thanks.
>>
>
>
|
|
|
Re: How to model "Exception throwing" for operartion in uml 2 class diagram [message #471734 is a reply to message #471732] |
Tue, 20 March 2007 03:04 |
james bruck Messages: 1724 Registered: July 2009 |
Senior Member |
|
|
Hi Rafael,
What's an OP?
I agree that it is not fair to focus on product specific questions in this
forum.
- James.
"Rafael Chaves" <chaves@inf.ufsc.nospam.br> wrote in message
news:etn9oj$q45$1@utils.eclipse.org...
> In this specific scenario, where a user wants to structurally model an
> operation and the exceptions it throws, I actually can't see what is
> lacking. The raisedExceptions property seems to be good enough. Or am I
> missing something?
>
> It seems that what the OP wants is easily doable with UML2. The issue here
> steems from the fact that the OP actually wants help on how to do that
> with RSM, and that kind of question certainly does not belong to this
> forum, and should be asked elsewhere.
>
> Rafael
>
> James Bruck wrote:
>> From RSM if you visualize your java class, you will get a "disruptable"
>> combined fragment for exceptions but this is a RSM customization and not
>> part of the official spec. You might want to try visualization of your
>> class to get a customized sequence diagram.
>>
>> Apart from what is described in the old newsgroup regarding modeling
>> exception handling, I'm not aware of any other better (standard) way of
>> modelling exceptions. Why are those tips from the old newsgroup not
>> sufficient for you?
>>
>> I think that modelling exceptions is a sore point for UML in general.
>>
>> Regards,
>>
>> - James.
>>
>>
>> "RSM User" <cdNs25100@yahoo.com> wrote in message
>> news:19c1d92f894779ba87ce2016113f864d$1@www.eclipse.org...
>>> Thank James,
>>>
>>> I read those messages, but I feel it is not going to solve my problem
>>>
>>> I am further specifying my problem below,
>>> I want to model a class diagram with a method called "ReadMyFile" and
>>> that
>>> method throws the FileNotFoundException exception (that is built in java
>>> exception).
>>>
>>> So, How can I model java FileNotFoundException exception, It is better
>>> if
>>> you can give answer related to RSM modeling.
>>>
>>> I am specifying some RSM related exception handling tips below,
>>>
>>> 1. There is a property for method parameters in RSM called "Is
>>> Exception".
>>> 2. Also, there is another property for a method called "raised
>>> exception"
>>>
>>> Thanks.
>>>
>>
|
|
|
Re: How to model "Exception throwing" for operartion in uml 2 class diagram [message #471735 is a reply to message #471734] |
Tue, 20 March 2007 04:02 |
Rafael Chaves Messages: 362 Registered: July 2009 |
Senior Member |
|
|
Hi James,
OP = Original Poster/Original Post
James Bruck wrote:
> Hi Rafael,
>
> What's an OP?
> I agree that it is not fair to focus on product specific questions in this
> forum.
>
> - James.
>
>
> "Rafael Chaves" <chaves@inf.ufsc.nospam.br> wrote in message
> news:etn9oj$q45$1@utils.eclipse.org...
>> In this specific scenario, where a user wants to structurally model an
>> operation and the exceptions it throws, I actually can't see what is
>> lacking. The raisedExceptions property seems to be good enough. Or am I
>> missing something?
>>
>> It seems that what the OP wants is easily doable with UML2. The issue here
>> steems from the fact that the OP actually wants help on how to do that
>> with RSM, and that kind of question certainly does not belong to this
>> forum, and should be asked elsewhere.
>>
>> Rafael
>>
>> James Bruck wrote:
>>> From RSM if you visualize your java class, you will get a "disruptable"
>>> combined fragment for exceptions but this is a RSM customization and not
>>> part of the official spec. You might want to try visualization of your
>>> class to get a customized sequence diagram.
>>>
>>> Apart from what is described in the old newsgroup regarding modeling
>>> exception handling, I'm not aware of any other better (standard) way of
>>> modelling exceptions. Why are those tips from the old newsgroup not
>>> sufficient for you?
>>>
>>> I think that modelling exceptions is a sore point for UML in general.
>>>
>>> Regards,
>>>
>>> - James.
>>>
>>>
>>> "RSM User" <cdNs25100@yahoo.com> wrote in message
>>> news:19c1d92f894779ba87ce2016113f864d$1@www.eclipse.org...
>>>> Thank James,
>>>>
>>>> I read those messages, but I feel it is not going to solve my problem
>>>>
>>>> I am further specifying my problem below,
>>>> I want to model a class diagram with a method called "ReadMyFile" and
>>>> that
>>>> method throws the FileNotFoundException exception (that is built in java
>>>> exception).
>>>>
>>>> So, How can I model java FileNotFoundException exception, It is better
>>>> if
>>>> you can give answer related to RSM modeling.
>>>>
>>>> I am specifying some RSM related exception handling tips below,
>>>>
>>>> 1. There is a property for method parameters in RSM called "Is
>>>> Exception".
>>>> 2. Also, there is another property for a method called "raised
>>>> exception"
>>>>
>>>> Thanks.
>>>>
>
|
|
| |
Re: How to model "Exception throwing" for operartion in uml 2 class diagram [message #599633 is a reply to message #471653] |
Mon, 19 March 2007 05:54 |
Eclipse User |
|
|
|
Originally posted by: cdNs25100.yahoo.com
Thank James,
I read those messages, but I feel it is not going to solve my problem
I am further specifying my problem below,
I want to model a class diagram with a method called "ReadMyFile" and that
method throws the FileNotFoundException exception (that is built in java
exception).
So, How can I model java FileNotFoundException exception, It is better if
you can give answer related to RSM modeling.
I am specifying some RSM related exception handling tips below,
1. There is a property for method parameters in RSM called "Is Exception".
2. Also, there is another property for a method called "raised exception"
Thanks.
|
|
|
Re: How to model "Exception throwing" for operartion in uml 2 class diagram [message #601824 is a reply to message #471657] |
Mon, 19 March 2007 21:45 |
james bruck Messages: 1724 Registered: July 2009 |
Senior Member |
|
|
From RSM if you visualize your java class, you will get a "disruptable"
combined fragment for exceptions but this is a RSM customization and not
part of the official spec. You might want to try visualization of your
class to get a customized sequence diagram.
Apart from what is described in the old newsgroup regarding modeling
exception handling, I'm not aware of any other better (standard) way of
modelling exceptions. Why are those tips from the old newsgroup not
sufficient for you?
I think that modelling exceptions is a sore point for UML in general.
Regards,
- James.
"RSM User" <cdNs25100@yahoo.com> wrote in message
news:19c1d92f894779ba87ce2016113f864d$1@www.eclipse.org...
> Thank James,
>
> I read those messages, but I feel it is not going to solve my problem
>
> I am further specifying my problem below,
> I want to model a class diagram with a method called "ReadMyFile" and that
> method throws the FileNotFoundException exception (that is built in java
> exception).
>
> So, How can I model java FileNotFoundException exception, It is better if
> you can give answer related to RSM modeling.
>
> I am specifying some RSM related exception handling tips below,
>
> 1. There is a property for method parameters in RSM called "Is Exception".
> 2. Also, there is another property for a method called "raised exception"
>
> Thanks.
>
|
|
|
Re: How to model "Exception throwing" for operartion in uml 2 class diagram [message #601833 is a reply to message #471731] |
Tue, 20 March 2007 00:27 |
Rafael Chaves Messages: 362 Registered: July 2009 |
Senior Member |
|
|
In this specific scenario, where a user wants to structurally model an
operation and the exceptions it throws, I actually can't see what is
lacking. The raisedExceptions property seems to be good enough. Or am I
missing something?
It seems that what the OP wants is easily doable with UML2. The issue
here steems from the fact that the OP actually wants help on how to do
that with RSM, and that kind of question certainly does not belong to
this forum, and should be asked elsewhere.
Rafael
James Bruck wrote:
> From RSM if you visualize your java class, you will get a "disruptable"
> combined fragment for exceptions but this is a RSM customization and not
> part of the official spec. You might want to try visualization of your
> class to get a customized sequence diagram.
>
> Apart from what is described in the old newsgroup regarding modeling
> exception handling, I'm not aware of any other better (standard) way of
> modelling exceptions. Why are those tips from the old newsgroup not
> sufficient for you?
>
> I think that modelling exceptions is a sore point for UML in general.
>
> Regards,
>
> - James.
>
>
> "RSM User" <cdNs25100@yahoo.com> wrote in message
> news:19c1d92f894779ba87ce2016113f864d$1@www.eclipse.org...
>> Thank James,
>>
>> I read those messages, but I feel it is not going to solve my problem
>>
>> I am further specifying my problem below,
>> I want to model a class diagram with a method called "ReadMyFile" and that
>> method throws the FileNotFoundException exception (that is built in java
>> exception).
>>
>> So, How can I model java FileNotFoundException exception, It is better if
>> you can give answer related to RSM modeling.
>>
>> I am specifying some RSM related exception handling tips below,
>>
>> 1. There is a property for method parameters in RSM called "Is Exception".
>> 2. Also, there is another property for a method called "raised exception"
>>
>> Thanks.
>>
>
>
|
|
|
Re: How to model "Exception throwing" for operartion in uml 2 class diagram [message #601846 is a reply to message #471732] |
Tue, 20 March 2007 03:04 |
james bruck Messages: 1724 Registered: July 2009 |
Senior Member |
|
|
Hi Rafael,
What's an OP?
I agree that it is not fair to focus on product specific questions in this
forum.
- James.
"Rafael Chaves" <chaves@inf.ufsc.nospam.br> wrote in message
news:etn9oj$q45$1@utils.eclipse.org...
> In this specific scenario, where a user wants to structurally model an
> operation and the exceptions it throws, I actually can't see what is
> lacking. The raisedExceptions property seems to be good enough. Or am I
> missing something?
>
> It seems that what the OP wants is easily doable with UML2. The issue here
> steems from the fact that the OP actually wants help on how to do that
> with RSM, and that kind of question certainly does not belong to this
> forum, and should be asked elsewhere.
>
> Rafael
>
> James Bruck wrote:
>> From RSM if you visualize your java class, you will get a "disruptable"
>> combined fragment for exceptions but this is a RSM customization and not
>> part of the official spec. You might want to try visualization of your
>> class to get a customized sequence diagram.
>>
>> Apart from what is described in the old newsgroup regarding modeling
>> exception handling, I'm not aware of any other better (standard) way of
>> modelling exceptions. Why are those tips from the old newsgroup not
>> sufficient for you?
>>
>> I think that modelling exceptions is a sore point for UML in general.
>>
>> Regards,
>>
>> - James.
>>
>>
>> "RSM User" <cdNs25100@yahoo.com> wrote in message
>> news:19c1d92f894779ba87ce2016113f864d$1@www.eclipse.org...
>>> Thank James,
>>>
>>> I read those messages, but I feel it is not going to solve my problem
>>>
>>> I am further specifying my problem below,
>>> I want to model a class diagram with a method called "ReadMyFile" and
>>> that
>>> method throws the FileNotFoundException exception (that is built in java
>>> exception).
>>>
>>> So, How can I model java FileNotFoundException exception, It is better
>>> if
>>> you can give answer related to RSM modeling.
>>>
>>> I am specifying some RSM related exception handling tips below,
>>>
>>> 1. There is a property for method parameters in RSM called "Is
>>> Exception".
>>> 2. Also, there is another property for a method called "raised
>>> exception"
>>>
>>> Thanks.
>>>
>>
|
|
|
Re: How to model "Exception throwing" for operartion in uml 2 class diagram [message #601854 is a reply to message #471734] |
Tue, 20 March 2007 04:02 |
Rafael Chaves Messages: 362 Registered: July 2009 |
Senior Member |
|
|
Hi James,
OP = Original Poster/Original Post
James Bruck wrote:
> Hi Rafael,
>
> What's an OP?
> I agree that it is not fair to focus on product specific questions in this
> forum.
>
> - James.
>
>
> "Rafael Chaves" <chaves@inf.ufsc.nospam.br> wrote in message
> news:etn9oj$q45$1@utils.eclipse.org...
>> In this specific scenario, where a user wants to structurally model an
>> operation and the exceptions it throws, I actually can't see what is
>> lacking. The raisedExceptions property seems to be good enough. Or am I
>> missing something?
>>
>> It seems that what the OP wants is easily doable with UML2. The issue here
>> steems from the fact that the OP actually wants help on how to do that
>> with RSM, and that kind of question certainly does not belong to this
>> forum, and should be asked elsewhere.
>>
>> Rafael
>>
>> James Bruck wrote:
>>> From RSM if you visualize your java class, you will get a "disruptable"
>>> combined fragment for exceptions but this is a RSM customization and not
>>> part of the official spec. You might want to try visualization of your
>>> class to get a customized sequence diagram.
>>>
>>> Apart from what is described in the old newsgroup regarding modeling
>>> exception handling, I'm not aware of any other better (standard) way of
>>> modelling exceptions. Why are those tips from the old newsgroup not
>>> sufficient for you?
>>>
>>> I think that modelling exceptions is a sore point for UML in general.
>>>
>>> Regards,
>>>
>>> - James.
>>>
>>>
>>> "RSM User" <cdNs25100@yahoo.com> wrote in message
>>> news:19c1d92f894779ba87ce2016113f864d$1@www.eclipse.org...
>>>> Thank James,
>>>>
>>>> I read those messages, but I feel it is not going to solve my problem
>>>>
>>>> I am further specifying my problem below,
>>>> I want to model a class diagram with a method called "ReadMyFile" and
>>>> that
>>>> method throws the FileNotFoundException exception (that is built in java
>>>> exception).
>>>>
>>>> So, How can I model java FileNotFoundException exception, It is better
>>>> if
>>>> you can give answer related to RSM modeling.
>>>>
>>>> I am specifying some RSM related exception handling tips below,
>>>>
>>>> 1. There is a property for method parameters in RSM called "Is
>>>> Exception".
>>>> 2. Also, there is another property for a method called "raised
>>>> exception"
>>>>
>>>> Thanks.
>>>>
>
|
|
|
Goto Forum:
Current Time: Fri Sep 20 14:57:26 GMT 2024
Powered by FUDForum. Page generated in 0.05533 seconds
|