please tell me how to do this
"C++ exception handling in ARM C++"
https://www.keil.com/support/man/docs/armcc/armcc_chr1359125012372.htm
"--exceptions, --no_exceptions"
https://www.keil.com/support/man/docs/ARMCC/armcc_chr1359124917660.htm
"Exception types" as part of:
https://developer.arm.com/architectures/learn-the-architecture/exception-model/single-page