exception problem
I've written a small class to email information to a given address. I had this class implement Runnable as it will run in a multi user environment.
I need to throw some exceptions if it fails to send the mail but the compiler won't let me throw these ..... the class declaration looks like this:
public class MailSender implements Runnable throws SendFailedException, MessagingException, Exception
and when I try to compile the error message says it expected to find an opening brace, ie. '{', before the 'throws SendFailedException....' bit.
I have another class which is basically the exact same in principal, it implements Runnable and throws an I/O exception, which compiles no problem....this is really bugging me.
Any help greatly appreciated on this one,
Niall.

