Package com.mongodb

Class MongoSocketReadException

All Implemented Interfaces:
Serializable

public class MongoSocketReadException extends MongoSocketException
This exception is thrown when there is an exception reading a response from a Socket.
Since:
3.0
See Also:
  • Constructor Details

    • MongoSocketReadException

      public MongoSocketReadException(String message, ServerAddress address)
      Construct a new instance.
      Parameters:
      message - the message
      address - the address
    • MongoSocketReadException

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