Java handle Exceptions (二)

2014-11-24 10:31:15 · 作者: · 浏览: 2
hing in methodB(). If methodB() does not have a catch block, Java looks to methodA(). If methodA() cannot catch the Exception, it is thrown to the Java Virtual Machine, which displays a message at the command prompt.