Store exception message to `mesg` field of `struct RException`.