summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/SessionHandler.cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2013-06-10 19:46:59 +0000
committerAndrew Stitcher <astitcher@apache.org>2013-06-10 19:46:59 +0000
commit59a96151f1e0111718f8ad6ace7de0e709a73a80 (patch)
treee672be3acdf44ab2693ab93ceb99eda7002d7193 /cpp/src/qpid/broker/SessionHandler.cpp
parent03d7ed130b82f7546b24f1a30ecc36ef709baebc (diff)
downloadqpid-python-59a96151f1e0111718f8ad6ace7de0e709a73a80.tar.gz
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
Diffstat (limited to 'cpp/src/qpid/broker/SessionHandler.cpp')
-rw-r--r--cpp/src/qpid/broker/SessionHandler.cpp6
1 files changed, 0 insertions, 6 deletions
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);
}