moved exceptions into module
the exceptions module.