异常抛出

函数 throw(Reason) 的行为可以描述如下:

  1. if(within the scope of a catch”)then
  2. Value of catch = Reason
  3. else
  4. broadcast(nocatch)
  5. die
  6. endif