try
{
checked
{
for(;nCurDig<=nComputeTo;nCurDig++)
{
nFactorial*=nCurDig;
}
}
}
catch(OverflowException oe)
{
Console.WriteLine("Computing {0} caused an overflow exception",nComputeTo);
throw;
}
请问:throw的作用是什么:是将异常抛出交给外部来做进一步的处理吗?它抛出的是oe吗?
{
checked
{
for(;nCurDig<=nComputeTo;nCurDig++)
{
nFactorial*=nCurDig;
}
}
}
catch(OverflowException oe)
{
Console.WriteLine("Computing {0} caused an overflow exception",nComputeTo);
throw;
}
请问:throw的作用是什么:是将异常抛出交给外部来做进一步的处理吗?它抛出的是oe吗?