Make ConnectionException regular class

Small and simple refactoring.