oh I have it in the code... just forgot to paste it here. This is what I have.
import java.lang.*;
public class Foo {
public void doStuff(int y,
String s) { }
public void moreThings(int x) { }
}
class Bar extends Foo {
public void doStuff(int y, long s) throws IOException { }
}
My question is doStuff is an overloaded method... it should not give a compiler error it throws exceptions.