Fixed errors in gm_exception.h.