Package com.mongodb

Class MongoSocketReadTimeoutException

  • All Implemented Interfaces:
    Serializable


    public class MongoSocketReadTimeoutException
    extends MongoSocketException
    This exception is thrown when there is a timeout reading a response from the socket.
    Since:
    3.0
    See Also:
    Serialized Form
    • Constructor Detail

      • MongoSocketReadTimeoutException

        public MongoSocketReadTimeoutException​(String message,
                                               ServerAddress address,
                                               Throwable cause)
        Construct a new instance
        Parameters:
        message - the message
        address - the address
        cause - the cause