diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2013-06-10 19:46:59 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2013-06-10 19:46:59 +0000 |
| commit | 59a96151f1e0111718f8ad6ace7de0e709a73a80 (patch) | |
| tree | e672be3acdf44ab2693ab93ceb99eda7002d7193 /cpp/src/qpid/broker/ConnectionHandler.cpp | |
| parent | 03d7ed130b82f7546b24f1a30ecc36ef709baebc (diff) | |
| download | qpid-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/ConnectionHandler.cpp')
| -rw-r--r-- | cpp/src/qpid/broker/ConnectionHandler.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cpp/src/qpid/broker/ConnectionHandler.cpp b/cpp/src/qpid/broker/ConnectionHandler.cpp index 68061e2924..e86dcdb086 100644 --- a/cpp/src/qpid/broker/ConnectionHandler.cpp +++ b/cpp/src/qpid/broker/ConnectionHandler.cpp @@ -86,7 +86,6 @@ bool ConnectionHandler::handle(const framing::AMQMethodBody& method) void ConnectionHandler::handle(framing::AMQFrame& frame) { AMQMethodBody* method=frame.getBody()->getMethod(); - Connection::ErrorListener* errorListener = handler->connection.getErrorListener(); try{ if (method && handle(*method)) { // This is a connection control frame, nothing more to do. @@ -98,10 +97,8 @@ void ConnectionHandler::handle(framing::AMQFrame& frame) "Connection not yet open, invalid frame received."); } }catch(ConnectionException& e){ - if (errorListener) errorListener->connectionError(e.what()); handler->proxy.close(e.code, e.what()); }catch(std::exception& e){ - if (errorListener) errorListener->connectionError(e.what()); handler->proxy.close(541/*internal error*/, e.what()); } } |
