Create and open a Connection.
Parameters: string - The URL for the connection Parameters: mode - The access mode Parameters: timeouts - A flag to indicate that the callerwants timeout exceptions Parameters: platform - Platform name A new Connection object exception: ClassNotFoundException - If the protocol cannot be found. exception: IllegalArgumentException - If a parameter is invalid. exception: ConnectionNotFoundException - If the target of thename cannot be found, or if the requested protocol typeis not supported. exception: IOException - If some other kind of I/O error occurs. exception: IllegalArgumentException - If a parameter is invalid.