Package com.mongodb

Class MongoSocketClosedException

  • All Implemented Interfaces:

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

      • MongoSocketClosedException

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