Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 27818 invoked from network); 11 Mar 2010 12:21:06 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Mar 2010 12:21:06 -0000 Received: (qmail 83151 invoked by uid 500); 11 Mar 2010 12:20:33 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 83117 invoked by uid 500); 11 Mar 2010 12:20:33 -0000 Mailing-List: contact commits-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 commits@activemq.apache.org Received: (qmail 83110 invoked by uid 99); 11 Mar 2010 12:20:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Mar 2010 12:20:32 +0000 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.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Mar 2010 12:20:32 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id E6F7D23888D1; Thu, 11 Mar 2010 12:20:10 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r921822 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/vm/VMTransport.java Date: Thu, 11 Mar 2010 12:20:10 -0000 To: commits@activemq.apache.org From: rajdavies@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100311122010.E6F7D23888D1@eris.apache.org> Author: rajdavies Date: Thu Mar 11 12:20:10 2010 New Revision: 921822 URL: http://svn.apache.org/viewvc?rev=921822&view=rev Log: Applied patch for https://issues.apache.org/activemq/browse/AMQ-2191 Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/vm/VMTransport.java Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/vm/VMTransport.java URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/vm/VMTransport.java?rev=921822&r1=921821&r2=921822&view=diff ============================================================================== --- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/vm/VMTransport.java (original) +++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/transport/vm/VMTransport.java Thu Mar 11 12:20:10 2010 @@ -17,6 +17,7 @@ package org.apache.activemq.transport.vm; import java.io.IOException; +import java.io.InterruptedIOException; import java.net.URI; import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.atomic.AtomicBoolean; @@ -100,7 +101,9 @@ public class VMTransport implements Tran } } catch (InterruptedException e) { - throw IOExceptionSupport.create(e); + InterruptedIOException iioe = new InterruptedIOException(e.getMessage()); + iioe.initCause(e); + throw iioe; } finally { // Allow the peer to change state again... peer.enqueueValve.decrement();