Package com.mongodb

Class MongoSocketException

    • Constructor Detail

      • MongoSocketException

        public MongoSocketException​(java.lang.String message,
                                    ServerAddress serverAddress)
        Deprecated.
        Construct a new instance.
        Parameters:
        message - the message
        serverAddress - the address
    • Method Detail

      • getServerAddress

        public ServerAddress getServerAddress()
        Deprecated.
        Gets the server address for this exception.
        Returns:
        the address