Java 异常处理
http://www.verejava.com/?id=16992965615177
package com.test;
public class Test
{
public static void main(String[] args)
{
try
{
throw new ClassNotFoundException("hello");
} catch (ClassNotFoundException e)
{
e.printStackTrace();
}
/*String a="a";
int num=Integer.parseInt(a);
try
{
Class.forName("com.ss");
} catch (ClassNotFoundException e)
{
e.printStackTrace();
}*/
}
}