Package com.mongodb

Class MongoSocketOpenException

  • All Implemented Interfaces:
    Serializable

    @Deprecated(since="2021-05-27")
    public class MongoSocketOpenException
    extends MongoSocketException
    Deprecated.
    Usage of this API is not supported in AEM as a Cloud Service.
    This exception is thrown when there is an exception opening a Socket.
    Since:
    3.0
    See Also:
    Serialized Form
    • Constructor Detail

      • MongoSocketOpenException

        public MongoSocketOpenException​(String message,
                                        ServerAddress address,
                                        Throwable cause)
        Deprecated.
        Construct an instance.
        Parameters:
        message - the message
        address - the server address
        cause - the cause
      • MongoSocketOpenException

        public MongoSocketOpenException​(String message,
                                        ServerAddress address)
        Deprecated.
        Construct an instance.
        Parameters:
        message - the message
        address - the server address
        Since:
        3.10