Click or drag to resize

JavaException Class

Encapsulates exceptions from Java.
Inheritance Hierarchy
SystemObject
  SystemException
    MASES.JCOBridge.C2JBridge.JVMInteropJavaException

Namespace: MASES.JCOBridge.C2JBridge.JVMInterop
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.5.21.241219-a6a144ea07c497c3a9a1be842408e852afb458be
Syntax
[SerializableAttribute]
public sealed class JavaException : Exception

The JavaException type exposes the following members.

Constructors
 NameDescription
Public methodJavaException Initializes a new instance of the JavaException class.
Public methodJavaException(String) Initializes a new instance of the JavaException class with a specified error message.
Public methodJavaException(String, Exception) Initializes a new instance of the System.Exception class with a specified error message and a reference to the inner exception that is the cause of this exception.
Public methodJavaException(String, String) Initializes a new instance of the JavaException class with a specified error message and JVM stack trace
Public methodJavaException(String, String, String) Initializes a new instance of the JavaException class with a specified error message and JVM stack trace
Public methodJavaException(String, String, String, JavaException) Initializes a new instance of the JavaException class with a specified error message and JVM stack trace
Top
Properties
 NameDescription
Public propertyDataGets a collection of key/value pairs that provide additional user-defined information about the exception.
(Inherited from Exception)
Public propertyHelpLinkGets or sets a link to the help file associated with this exception.
(Inherited from Exception)
Public propertyHResultGets or sets HRESULT, a coded numerical value that is assigned to a specific exception.
(Inherited from Exception)
Public propertyInnerExceptionGets the Exception instance that caused the current exception.
(Inherited from Exception)
Public propertyJavaExceptionClass The JVM exception class name
Public propertyJavaStackTrace The stack trace from the JVM
Public propertyMessageGets a message that describes the current exception.
(Inherited from Exception)
Public propertySourceGets or sets the name of the application or the object that causes the error.
(Inherited from Exception)
Public propertyStackTraceGets a string representation of the immediate frames on the call stack.
(Inherited from Exception)
Public propertyTargetSiteGets the method that throws the current exception.
(Inherited from Exception)
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetBaseExceptionWhen overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions.
(Inherited from Exception)
Public methodGetHashCodeServes as the default hash function.
(Overrides ObjectGetHashCode)
Public methodGetObjectDataWhen overridden in a derived class, sets the SerializationInfo with information about the exception.
(Inherited from Exception)
Public methodGetTypeGets the runtime type of the current instance.
(Inherited from Exception)
Public methodToStringReturns a string that represents the current object.
(Overrides ExceptionToString)
Top
Extension Methods
 NameDescription
Public Extension MethodConvert Converts a generic JavaException into a known exception
(Defined by JCOBridgeExtensions)
Public Extension MethodConvertTException Converts a generic JavaException into a known exception
(Defined by JCOBridgeExtensions)
Public Extension MethodConvertTReturn Converts a generic object
(Defined by JCOBridgeExtensions)
Public Extension MethodToNative Converts a generic input to an object manageable from the JVM
(Defined by JCOBridgeExtensions)
Top
See Also