activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <jira+amq...@apache.org>
Subject [jira] Issue Comment Edited: (AMQNET-93) NMS does not mirror standard 'JMS' exceptions
Date Fri, 27 Feb 2009 19:49:59 GMT

    [ https://issues.apache.org/activemq/browse/AMQNET-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50101#action_50101
] 

tabish121 edited comment on AMQNET-93 at 2/27/09 11:48 AM:
--------------------------------------------------------------

I'd have to agree with Yev, adding the NMS preface to everything seems overkill, and negates
the point of having things in the NMS namespace since that really should serve to sufficiently
identify that the object is part of NMS.  Keeping it on NMSException and NMSSecurityException
seems fine since they map to JMS types and present a more familiar facade to those familiar
with JMS, but adding to everything that's not an interface seems a bit overkill. 

      was (Author: tabish121):
    I'd have to agree with Yev, adding the NMS preface to everything seems overkill, and negates
the point of having things in the NMS namespace since that really should serve to sufficiently
identify that the object is part of NMS.  Keeping it on NSMException and NMSSecurityException
seems fine since they map to JMS types and present a more familiar facade to those familiar
with JMS, but adding to everything that's not an interface seems a bit overkill. 
  
> NMS does not mirror standard 'JMS' exceptions
> ---------------------------------------------
>
>                 Key: AMQNET-93
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-93
>             Project: ActiveMQ .Net
>          Issue Type: Improvement
>          Components: EMS
>    Affects Versions: 1.0
>            Reporter: Mark Pollack
>            Assignee: Jim Gomes
>             Fix For: 1.1
>
>         Attachments: NMS_Exception.patch
>
>
> The JMS spec defines several exception classes and these are not mirrored in the NMS
API.
> In particular this came up as I would like to specifically catch TransactionRolledBackException.
 I know that TIBCO EMS this exception class and perhaps more.  How to handle vendor exceptions
outside the spec other then wrapping and checking for inner exception types?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message