Package com.mongodb

Class MongoSocketReadException

  • All Implemented Interfaces:

    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:
    Serialized Form
    • Constructor Detail

      • MongoSocketReadException

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

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