From: SourceForge.net <no...@so...> - 2009-04-27 18:11:16
|
Bugs item #2782342, was opened at 2009-04-27 13:11 Message generated for change (Tracker Item Submitted) made by mgricken You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=438935&aid=2782342&group_id=44253 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Interactions Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Mathias Ricken (mgricken) Assigned to: Mathias Ricken (mgricken) Summary: UnmarshallException when throwing exceptions Initial Comment: When throwing exceptions, DrJava cannot find the Exception class in some cases. Try saving the following program in a file Bug.java, compiling it, and then interpreting expression that create exceptons but do not throw them followed by a statement that throws one (which will hang after generating a DrJava error). import java.io.IOException; /** Exception class for signalling illegal Laundry input. */ class CommandException extends IOException { CommandException(String s){ super(s); } public static void main(String[] args) throws Exception { throw new CommandException("foo"); } } -- Corky ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=438935&aid=2782342&group_id=44253 |