From 23235d0ac179db5194d3b71c5b1db1fa07960fe9 Mon Sep 17 00:00:00 2001 From: Jonathan Robie Date: Fri, 16 Apr 2010 20:20:04 +0000 Subject: Removed exception listener git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935070 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/org/apache/qpid/example/jmsexample/hello/Hello.java | 5 ----- 1 file changed, 5 deletions(-) (limited to 'java/client/example') diff --git a/java/client/example/src/main/java/org/apache/qpid/example/jmsexample/hello/Hello.java b/java/client/example/src/main/java/org/apache/qpid/example/jmsexample/hello/Hello.java index 3de1bd2a61..8fa8191de9 100644 --- a/java/client/example/src/main/java/org/apache/qpid/example/jmsexample/hello/Hello.java +++ b/java/client/example/src/main/java/org/apache/qpid/example/jmsexample/hello/Hello.java @@ -44,11 +44,6 @@ public class Hello { ConnectionFactory connectionFactory = (ConnectionFactory) context.lookup("qpidConnectionfactory"); Connection connection = connectionFactory.createConnection(); - connection.setExceptionListener(new ExceptionListener() { - public void onException(JMSException e) { - e.printStackTrace(); - } - }); connection.start(); Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE); -- cgit v1.2.1