Added GenericException class, as BaseException's message attribute is deprecated in Python 2.6

Ignore-this: 340c028cadf8a9b91b02a0db1b2087fd

darcs-hash:20100108153324-56b4d-ca4000a38c8fb4b87272b9941ca214fe4bcf270c