4.4.5.1.4 Exception

BAD_PARAM
Raised if the object is nil or if the host contained in the object does not match the connection or the host address (//hostname:port_number) is not in a valid format.