How do you do it?
A class I made throws back an IOException that needs to be declared in the calling class, but that class is a subclass, e.g.:
public Class1 throws IOException
{
foo.bar();
}
public Class2 extends File
{
Class1 classTest = new Class1();
}
How do I get Class2 to declare a throw? NetBeans keeps telling me I am missing a curly brace, but I am suspect of these kinds of warnings as they usually indicate something else completely. I've played around with the syntax and even tried getting all googly-moogly, but I can't seem to find anything.
Is it even possible?