Package com.mongodb

Class MongoSocketReadTimeoutException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.mongodb.MongoException
com.mongodb.MongoSocketException
com.mongodb.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:
  • Constructor Details

    • MongoSocketReadTimeoutException

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