JuggerNET Runtime Library v3.6.54.0
3.6.54.0
|
A COM accessible type granting access to extended error information. More...
Public Member Functions | |
COMErrorHelper () | |
The default constructor. More... | |
Properties | |
string | Message [get, set] |
The exception message of the last Java Exception or Error that was thrown on the current thread. More... | |
string | StackTrace [get, set] |
The stack trace of the last Java Exception or Error that was thrown on the current thread. More... | |
string | Type [get, set] |
The Java type name of the last Java Exception or Error that was thrown on the current thread. More... | |
Properties inherited from Codemesh.JuggerNET.ICOMErrorHelper | |
string | Message [get] |
Returns the last thrown exceptions's message. More... | |
string | StackTrace [get] |
Returns the last thrown exception's stacktrace. More... | |
string | Type [get] |
Returns the last thrown exception's type. More... | |
A COM accessible type granting access to extended error information.
When generated proxy classes are used from a VB6 or other COM client, it can be hard to gain access to the exception information contained in the root cause of the problem, namely the Java exception that was thrown. Via this interface you gain access to the missing pieces of information for the current thread of execution. This type can be instantiated once or multiple times and can be used to query the extended error information for the current thread of execution.
In order for this to work, you need to have the Codemesh.JuggerNET.IJvmOptions.COMExceptionMessages property set to true
.
|
inline |
The default constructor.
|
getset |
The exception message of the last Java Exception or Error that was thrown on the current thread.
|
getset |
The stack trace of the last Java Exception or Error that was thrown on the current thread.
|
getset |
The Java type name of the last Java Exception or Error that was thrown on the current thread.