--no commit message
Modified exception classes, new method for connection exceptions getPortableCode(), refactored some classes