程旭媛 发表于 2013-8-16 16:40:04

[Oracle interview]How does a try statement determine which catch clause should be used to handle an exception?

龚城师 发表于 2013-8-16 16:44:33

When anexception is thrown within the body of a try statement, the catch clauses ofthe try statement are examined in the order in which they appear. The firstcatch clause that is capable of handling the exceptionis executed. Theremaining catch clauses are ignored.
页: [1]
查看完整版本: [Oracle interview]How does a try statement determine which catch clause should be used to handle an exception?