diff options
author | Mathias Stearn <mathias@10gen.com> | 2018-01-17 13:31:14 -0500 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2018-01-19 21:43:07 -0500 |
commit | 6d92ce0e7ec4e9a0cf31e9f9940a63b03968bb88 (patch) | |
tree | ee06bd3cd1d5f34b114c81bffb715e432fbe6880 /src/mongo/dbtests/mock/mock_remote_db_server.cpp | |
parent | 410d6cf705eafd46499e8b338be5103becd377ff (diff) | |
download | mongo-6d92ce0e7ec4e9a0cf31e9f9940a63b03968bb88.tar.gz |
SERVER-32674 Make SocketException not be a special type
Diffstat (limited to 'src/mongo/dbtests/mock/mock_remote_db_server.cpp')
-rw-r--r-- | src/mongo/dbtests/mock/mock_remote_db_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/dbtests/mock/mock_remote_db_server.cpp b/src/mongo/dbtests/mock/mock_remote_db_server.cpp index cf1380e99cb..0d09a1036c6 100644 --- a/src/mongo/dbtests/mock/mock_remote_db_server.cpp +++ b/src/mongo/dbtests/mock/mock_remote_db_server.cpp @@ -232,7 +232,7 @@ void MockRemoteDBServer::checkIfUp(InstanceID id) const { scoped_spinlock sLock(_lock); if (!_isRunning || id < _instanceID) { - throw mongo::SocketException(mongo::SocketException::CLOSED, _hostAndPort); + throwSocketError(mongo::SocketErrorKind::CLOSED, _hostAndPort); } } } |