您可以尝试输出特性,设置错误处理(不仅在xsl变换时,而且还在查找输入源时),并发现API中的各种好东西。
You can play around with output properties, set error handling (not only for XSL transformations, but also for locating input sources) and find a variety of other goodies in the API.
如果底层驱动程序不支持事务,那么将会抛出一个PDOException(无论错误处理设置是怎样的:这总是一个严重错误状态)。
If the underlying driver does not support transactions, a PDOException will be thrown (regardless of your error handling Settings: this is always a serious error condition).
在外部范围中,错误处理程序包含一个其目标设置为内部范围的补偿活动。
In the outer scope, a fault handler contains a compensate activity whose target is set to the inner scope.
补偿事务和手动回滚都设置了错误处理器,所以恰当的纠正措施可应用于处理流程错误。
Compensation transactions and manual rollbacks are configured with the fault handlers so that appropriate corrective actions could be applied to handle the process errors.
接下来可以像处理一个简单SAX应用程序一样处理XMLReader实例,并设置一个错误处理程序。
You can then work with the XMLReader instance as you would with a straight SAX application which of course includes setting an error handler.
例如,在Bash外壳中,- u可确保将任何未设置的变量作为错误处理。
In the Bash shell, for example, -u ensures that any unset variables are treated as an error.
例如,在Bash外壳中,- u可确保将任何未设置的变量作为错误处理。
In the Bash shell, for example, -u ensures that any unset variables are treated as an error.
应用推荐