Originale-mail to me for new edition

 

Standard exception classes and routines

 

The SysUtils unit declares several standard routines for handling exceptions, including ExceptObject, ExceptAddr, and ShowException. SysUtils and other units also include dozens of exception classes, all of which (aside from OutlineError) derive from Exception.

The Exception class has properties called Message and HelpContext that can be used to pass an error description and a context ID for context-sensitive online documentation. It also defines various constructor methods that allow you to specify the description and context ID in different ways.

 

Topic groups

 

See also

Exceptions: Overview

 

 

译文

 

标准异常类和例程

 

SysUtils单元声明了一些处理异常的标准例程,包括ExceptObjectExceptAddrShowException等。SysUtils单元和其他单元还包括了许多异常类,除OutlineError之外,它们都起源于标准异常类Exception

标准异常类Exception具有的Message属性和HelpContext属性可以用来传递错误描述和内容ID(用于内容敏感的联机文档)。该异常类还定义了多种构造器方法,允许通过不同的途径指定描述和内容ID

 

 

主题组

 

相关主题

异常:概述