better exceptions interception by the kernel