Package com.mongodb

Class MongoSocketReadException

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Constructor Detail

      • MongoSocketReadException

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

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