scope with exception handler and inheritance