Package com.mongodb

Class MongoSocketClosedException

All Implemented Interfaces:
Serializable

public class MongoSocketClosedException extends MongoSocketException
This exception is thrown when trying to read or write from a closed socket.
Since:
3.0
See Also:
  • Constructor Details

    • MongoSocketClosedException

      public MongoSocketClosedException(String message, ServerAddress address)
      Construct an instance.
      Parameters:
      message - the message
      address - the server address