add arguments to NotImplemented calls
Patrick Tullmann
kaffe@rufus.w3.org
Thu, 20 May 1999 12:58:38 -0600
Edouard G. Parmelan wrote:
> Almost all descriptive strings you add contain the name of the method.
> Remember that NotImplemented is a Throwable so printStackTrace() will
> show you where the exception was throw (with source name and line number).
Yep. But, I was debugging someone else's Java package and they were
only printing th.getMessage() and moving on, so I had no idea which
function wasn't implemented. While I could have routed around fixing
their code, it seems to me that Kaffe should be as verbose as possible
when reporting internal errors like these.
-Pat
----- ----- ---- --- --- -- - - - - -
Pat Tullmann tullmann@cs.utah.edu
"Forty-Two." -- Deep Thought