For a start, this is not a swing question. Nothing is more rude than posting in appropriate lists!
Secondly, I'd love to know what would catch your CommandException! Thirdly, you cannot override a method in a superclass, and add to its signature in the subclass. I suspect you want to override run() to call some other method which throws CommandException, and have an exception handler for that in the run() method. ----- Original Message ----- From: "Gudekota, Kari Basappa" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 12, 2002 3:48 PM Subject: throwing an Exception > Hi > > I have written a class which extends Thread. I want to make the method > run() to throw new CommandException (which is my own class), > but it is giving an error saying that overridden method can not throw > CommandException. > > Thanks in advance . > > bye > G. Basavaraj > > > > > > _______________________________________________ > Advanced-swing mailing list > [EMAIL PROTECTED] > http://eos.dk/mailman/listinfo/advanced-swing > _______________________________________________ Advanced-swing mailing list [EMAIL PROTECTED] http://eos.dk/mailman/listinfo/advanced-swing
