Click or drag to resize

JVMBridgeExceptionTExceptionCreate Method

Used to create instance of TException

Namespace: MASES.JCOBridge.C2JBridge
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.5.10.240120-2a3d9d79d92bde9fdf6d46131ee31d20c12fe372
Syntax
public static TException Create(
	params Object[] args
)

Parameters

args  Object
The arguments of constructor

Return Value

TException
A Java instance of TException
Remarks
You cannot use throw on the returned TException to raise an exception to Java context. This is a special method to allocate an exception in Java context. It avoids reflection problems with the behavior used to report back in .NET the exceptions raised from Java methods.
See Also