Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5BA68C44F for ; Tue, 18 Jun 2013 20:54:21 +0000 (UTC) Received: (qmail 7413 invoked by uid 500); 18 Jun 2013 20:54:21 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 7389 invoked by uid 500); 18 Jun 2013 20:54:21 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 7336 invoked by uid 99); 18 Jun 2013 20:54:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jun 2013 20:54:21 +0000 Date: Tue, 18 Jun 2013 20:54:21 +0000 (UTC) From: "Dave Brosius (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-5652) Suppress custom exceptions thru jmx MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-5652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13687175#comment-13687175 ] Dave Brosius commented on CASSANDRA-5652: ----------------------------------------- really, imo mbeans should be seperate objects that impl the interface and just call into the real objects, so that these mbean objects can do the exception sanitization stuff (and other cleaning) outside of real code. but, probably just being pendantic. > Suppress custom exceptions thru jmx > ----------------------------------- > > Key: CASSANDRA-5652 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5652 > Project: Cassandra > Issue Type: Bug > Components: Tools > Affects Versions: 1.2.5 > Reporter: Dave Brosius > Assignee: Dave Brosius > Priority: Trivial > Fix For: 1.2.6 > > Attachments: 5652.txt > > > startNativeTransport, can send back > org.jboss.netty.channel.ChannelException > which causes jconsole to puke with a bad message such as > Problem invoking startNativeTransport: java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is: java.io.EOFException > convert to RuntimeException so you get something like: > org.jboss.netty.channel.ChannelException: Failed to bind to: localhost/127.0.0.1:9042 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira