|
There are some kind of errors you can handle using try/catch blocks, but specifically what you are talking about is a segmentation fault, and no sane OS would let your program maintain control if it seg faults, so the error message you get will contain what OS devs thought you should have and nothing more.
If you aren't familiar with protected mode and its specifics, read up on differences between protected and real modes of x86 family of CPUs.
|