Exception为什么不能捕获?
ni_ch 2004-01-10 07:23:39 public static void AddUser(string n, string f)
{
try
{
userTable.Add(n, new UserInfo(n, f));
}
catch(Exception)
{
// code cannot run even to here!!!<ERROR>
throw;
}
}
//
try {
AddUser("HEllo", "world");
} catch(Exception) {
// Code cannot run to here
}