C++ Layer uses BExceptionC::code instead of EX_code