Package com.mongodb

Class MongoSocketOpenException

  • All Implemented Interfaces:
    java.io.Serializable

    public class MongoSocketOpenException
    extends MongoSocketException
    This exception is thrown when there is an exception opening a Socket.
    Since:
    3.0
    See Also:
    Serialized Form
    • Constructor Detail

      • MongoSocketOpenException

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