Package com.mongodb

Class MongoSocketClosedException

  • All Implemented Interfaces:
    java.io.Serializable

    @Deprecated(since="2021-05-27")
    public class MongoSocketClosedException
    extends MongoSocketException
    Deprecated.
    Usage of this API is not supported in AEM as a Cloud Service.
    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​(java.lang.String message,
                                          ServerAddress address)
        Deprecated.
        Construct an instance.
        Parameters:
        message - the message
        address - the server address