');
Checks the connection is validparamc the connectionreturnException when not valid, null when valid