Class ErrorListener
public class ErrorListener : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IErrorListener
- Inheritance
-
ErrorListener
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
ErrorListener()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public ErrorListener()
ErrorListener(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public ErrorListener(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
OnError
public Action<JVMBridgeException> OnError { get; set; }
Property Value
Remarks
If OnError has a value it takes precedence over corresponding class method
OnFatalError
public Action<JVMBridgeException> OnFatalError { get; set; }
Property Value
Remarks
If OnFatalError has a value it takes precedence over corresponding class method
OnWarning
public Action<JVMBridgeException> OnWarning { get; set; }
Property Value
Remarks
If OnWarning has a value it takes precedence over corresponding class method
Methods
Error(JVMBridgeException)
public virtual void Error(JVMBridgeException arg0)
Parameters
Exceptions
FatalError(JVMBridgeException)
public virtual void FatalError(JVMBridgeException arg0)
Parameters
Exceptions
InitializeHandlers()
Handlers initializer for ErrorListener
protected virtual void InitializeHandlers()
Warning(JVMBridgeException)
public virtual void Warning(JVMBridgeException arg0)