exporting exception_generic_impl. It is set as object to when AMDExceptionType exception