throw exception when connection unexistant