# Thursday, 20 June 2002
« No Title | Main | No Title »
Exception woes

I just found another problem with exception handling. There is no way in .NET to throw an exception without overwriting the stack trace information.

When native code is invoked from Java and the native code in turn invokes a Java method which throws an exception, the native code can handle the exception, but if it doesn't the Java code that called the native code gets the exception.

I need the ability to rethrow an existing exception object. In Java the stack trace for the exception is done at construction time, not when the exception is actually thrown.

Thursday, 20 June 2002 16:45:40 (W. Europe Daylight Time, UTC+02:00)  #    Comments [0]