|
From: Todd L. M. <tm...@ha...> - 2001-08-24 23:55:13
|
> How do I create an instance of an error? It might be possible to create an > error factory. An error factory would make it easier to construct different > errors through a single method. > > How does the scheduler "know" that one of its threads has thrown an error? > When an error is thrown, the message should be displayed prominently on the > console, right? We need to know why it failed. You know, GCHII, these are very good questions. The design I had (all interpreter methods take an exception reference to fill in -- should have been Throwable, because of errors -- incidentally) was a Grade A hack designed around jJOS not supporting C++ exceptions, which seem the natural way to do things. I don't know what the right answer is; maybe Leuner has a clue? -_Quinn |