在php100看到的文章,函数如下<?php
//创建可抛出一个异常的函数
function checkNum($number)
{
if($number>1) { 
throw new Exception("Value must be 1 or below");  
}
return true;
}//在 "try" 代码块中触发异常
try {
checkNum(2);
//If the exception is thrown, this text will not be shown 
echo 'If you see this, the number is 1 or below';
} //捕获异常
catch(Exception $e){
echo 'Message: ' .$e->getMessage();
}
?>问题如下:
1:该函数checkNum()并没有被调用,也就是说并没有传值进去,那怎么会发生异常?
2:文章中写道:Try - 使用异常的函数应该位于 "try" 代码块内。如果没有触发异常,则代码将照常继续执行。但是如果异常被触发,会抛出一个异常。 
       是不是说首先运行try里的代码如果异常责运行catch,否则就将代码顺序执行下去?
最好能帮着详细说说!万分感谢!!!