  | JVMBridgeExceptionTExceptionCreate Method | 
            Used to create instance of TException
Namespace: MASES.JCOBridge.C2JBridgeAssembly: C2JBridge (in C2JBridge.dll) Version: 2.6.4.250922-152ba6ff9edce5bce8e7bf5a86e1098f7e200363
Syntaxpublic static TException Create(
	params Object[] args
)
Public Shared Function Create ( 
	ParamArray args As Object()
) As TException
Parameters
- args  Object
 - The arguments of constructor
 
Return Value
TExceptionA Java instance of 
TException
RemarksYou 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