Fixed a bug in tranlateExceptHandler