/* Get ASCII format string exception name by exception type. */
CONST CHAR8* GetExceptionNameStr(IN EFI_EXCEPTION_TYPE ExceptionType)
/* Get ASCII format string exception name by exception type. */
CONST CHAR8* GetExceptionNameStr(IN EFI_EXCEPTION_TYPE ExceptionType)
{
  if ((UINTN)ExceptionType < EXCEPTION_KNOWN_NAME_NUM) {
    return mExceptionNameStr[ExceptionType];
  } else {
    return mExceptionReservedStr;
  }
}