研发埠

标题: [Oracle interview]How does a try statement determine which catch clause should be used to handle an exception? [打印本页]

作者: 程旭媛    时间: 2013-8-16 16:40
标题: [Oracle interview]How does a try statement determine which catch clause should be used to handle an exception?

作者: 龚城师    时间: 2013-8-16 16:44
When an  exception is thrown within the body of a try statement, the catch clauses of  the try statement are examined in the order in which they appear. The first  catch clause that is capable of handling the exceptionis executed. The  remaining catch clauses are ignored.




欢迎光临 研发埠 (http://bbs.yanfabu.com/) Powered by Discuz! X3.2