Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 91145 invoked from network); 27 Feb 2009 19:50:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Feb 2009 19:50:21 -0000 Received: (qmail 46251 invoked by uid 500); 27 Feb 2009 19:50:20 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 46226 invoked by uid 500); 27 Feb 2009 19:50:20 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 46215 invoked by uid 99); 27 Feb 2009 19:50:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 11:50:20 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 19:50:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 76973234C4AC for ; Fri, 27 Feb 2009 11:49:59 -0800 (PST) Message-ID: <1398722304.1235764199484.JavaMail.jira@brutus> Date: Fri, 27 Feb 2009 11:49:59 -0800 (PST) From: "Timothy Bish (JIRA)" To: dev@activemq.apache.org Subject: [jira] Commented: (AMQNET-93) NMS does not mirror standard 'JMS' exceptions In-Reply-To: <1612440838.1216239600322.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQNET-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50101#action_50101 ] Timothy Bish commented on AMQNET-93: ------------------------------------ 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.