Bad habit: Not handling errors at all.
不良习惯:根本没有错误处理代码。
It's also easy to register with SAX, so handling errors is just a few lines of code away.
它可以很容易地注册SAX,处理错误时只需要几行代码。
If you've got code like this, you're well on your way to handling errors in your XML processing.
如果使用这样的代码,那么在XML处理中就可以很好地处理错误。
This facility provides a pretty flexible means of handling errors without requiring you to be overly verbose.
此功能为处理错误提供了非常灵活的方法,无需进行大量的工作。
That sounds overly simple, but taking even 10 percent more time to work on handling errors gracefully or even preventing errors from occurring at all will dramatically improve user experience.
这听起来很简单,但是用10%的额外时间来轻松处理错误或阻止错误发生将极大地改进用户体验。
This section contains some general rules to consider when handling errors in your wizard.
本节包含在向导中处理错误时要考虑的一些通用规则。
One great benefit of handling errors this way is that all of the errors are printed at once.
以这种方式处理错误的一个最大的好处是所有这些错误都会立刻打印。
Handling errors properly makes your code more robust.
适当地处理错误会使代码更加健壮。
Handling errors and suggesting user names during registration.
在注册过程中处理错误和提示用户名。
Handling errors with the code already covered is fairly easy at this point, especially because you're already returning errors with specific IDs that point to the problem.
此时,使用上述代码处理错误是较为容易的。特别是您已经返回错误,且错误中含有指向可能出现问题的具体ID。
Handling errors with the code already covered is fairly easy at this point, especially because you're already returning errors with specific IDs that point to the problem.
此时,使用上述代码处理错误是较为容易的。特别是您已经返回错误,且错误中含有指向可能出现问题的具体ID。
应用推荐