Package com.mongodb

Class MongoSocketOpenException

    • Constructor Detail

      • MongoSocketOpenException

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

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