JuggerNET Runtime Library v3.6.54.0  3.6.54.0
Classes | Public Member Functions | Properties | List of all members
Codemesh.JuggerNET.COMErrorHelper Class Reference

A COM accessible type granting access to extended error information. More...

Inheritance diagram for Codemesh.JuggerNET.COMErrorHelper:
Inheritance graph
[legend]
Collaboration diagram for Codemesh.JuggerNET.COMErrorHelper:
Collaboration graph
[legend]

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ COMErrorHelper()

Codemesh.JuggerNET.COMErrorHelper.COMErrorHelper ( )
inline

The default constructor.

Property Documentation

◆ Message

string Codemesh.JuggerNET.COMErrorHelper.Message
getset

The exception message of the last Java Exception or Error that was thrown on the current thread.

◆ StackTrace

string Codemesh.JuggerNET.COMErrorHelper.StackTrace
getset

The stack trace of the last Java Exception or Error that was thrown on the current thread.

◆ Type

string Codemesh.JuggerNET.COMErrorHelper.Type
getset

The Java type name of the last Java Exception or Error that was thrown on the current thread.


The documentation for this class was generated from the following file:

Copyright (c) 1999-2020 by Codemesh, Inc., ALL RIGHTS RESERVED.