-. added common exception handlers.