//例1:
begin
  raise Exception.Create('抛出异常');
end;

//例2: begin raise Exception.CreateFmt('%s %d', ['错误代码:', 999]); end;
//例3: var exc: Exception; begin exc := Exception.Create('发现异常'); raise exc; end;

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-06
  • 2021-07-27
  • 2021-11-29
  • 2022-12-23
  • 2022-12-23
  • 2021-09-22
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-07
  • 2022-02-24
相关资源
相似解决方案