Here is a question from Sun Guoqiao's mock exam
public class Test021
{
public static void main(
String args[])
{
RuntimeException re = null;
try
{
System.out.println("throwing exception!");
throw re;
}
catch(Exception e)
{
System.out.println("catch exception!");
}
finally
{
System.out.println("finally!");
}
}
}
My question is don't you have to have an exception in the throws clause for throwing an exception.