Create connection.class.php

Rethrowing the exception is so you can use your own error handlers, if you got any...