From 59a96151f1e0111718f8ad6ace7de0e709a73a80 Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Mon, 10 Jun 2013 19:46:59 +0000 Subject: QPID-4905: Remove unused Connection ErrorListener interface - was only used by removed cluster support git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1491584 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/broker/SessionHandler.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'cpp/src/qpid/broker/SessionHandler.cpp') diff --git a/cpp/src/qpid/broker/SessionHandler.cpp b/cpp/src/qpid/broker/SessionHandler.cpp index a6b008647f..28827ccb9e 100644 --- a/cpp/src/qpid/broker/SessionHandler.cpp +++ b/cpp/src/qpid/broker/SessionHandler.cpp @@ -44,8 +44,6 @@ void SessionHandler::connectionException( framing::connection::CloseCode code, const std::string& msg) { // NOTE: must tell the error listener _before_ calling connection.close() - if (connection.getErrorListener()) - connection.getErrorListener()->connectionError(msg); if (errorListener) errorListener->connectionException(code, msg); connection.close(code, msg); @@ -54,8 +52,6 @@ void SessionHandler::connectionException( void SessionHandler::channelException( framing::session::DetachCode code, const std::string& msg) { - if (connection.getErrorListener()) - connection.getErrorListener()->sessionError(getChannel(), msg); if (errorListener) errorListener->channelException(code, msg); } @@ -63,8 +59,6 @@ void SessionHandler::channelException( void SessionHandler::executionException( framing::execution::ErrorCode code, const std::string& msg) { - if (connection.getErrorListener()) - connection.getErrorListener()->sessionError(getChannel(), msg); if (errorListener) errorListener->executionException(code, msg); } -- cgit v1.2.1