Hi!
I want to let a thread throw an exception (in order to handle that exception in the parent class). But I am not able to get this to work. I tried to do something like this:
But the compiler says that I am not allowed to do this. How can a thread throw an exception??
cheers
frag
patrick.metz@epost.de
I want to let a thread throw an exception (in order to handle that exception in the parent class). But I am not able to get this to work. I tried to do something like this:
Code:
public void run() throws IOException
{
...
}
But the compiler says that I am not allowed to do this. How can a thread throw an exception??
cheers
frag
patrick.metz@epost.de