The baseclass for all exceptions related to JuggerNET. This includes two major subhierarchies, framework exceptions and proxy exceptions. Among proxy excpetions, it makes sense to distinguish between errors and exceptions.
More...
|
static jvalue | ToJavaException (System.Exception e) |
| Returns a jvalue containing a Java exception instance, suitable for throwing into the JVM. If the passed in exception is a proxy exception, we simply set it into the result. If the passed in exception is a .NET exception, we take as much information as possible from it and create a Java RuntimeException that we set into the result. More...
|
|
|
abstract bool | IsFrameworkException [get] |
| A readonly property that is true if the exception is due to an error in the JuggerNET framework, possibly due to a minsconfiguration or erroneous use of the JuggerNET API. More...
|
|
abstract bool | IsProxyException [get] |
| A readonly property that is true if the exception is due to an exception that occurred while executing Java code. More...
|
|
abstract bool | IsProxyError [get] |
| A readonly property that is true if the exception is due to an error that occurred while executing Java code. More...
|
|
The baseclass for all exceptions related to JuggerNET. This includes two major subhierarchies, framework exceptions and proxy exceptions. Among proxy excpetions, it makes sense to distinguish between errors and exceptions.
◆ JuggerNETException() [1/4]
Codemesh.JuggerNET.JuggerNETException.JuggerNETException |
( |
| ) |
|
|
inlineprotected |
◆ JuggerNETException() [2/4]
Codemesh.JuggerNET.JuggerNETException.JuggerNETException |
( |
string |
msg | ) |
|
|
inlineprotected |
Creates an exception with a given message.
- Parameters
-
msg | The exception message. |
◆ JuggerNETException() [3/4]
Codemesh.JuggerNET.JuggerNETException.JuggerNETException |
( |
string |
msg, |
|
|
Exception |
exc |
|
) |
| |
|
inlineprotected |
Creates an exception with a given message and root cause.
- Parameters
-
msg | The exception message. |
exc | An exception that's the root cause for this exception. |
◆ JuggerNETException() [4/4]
Codemesh.JuggerNET.JuggerNETException.JuggerNETException |
( |
SerializationInfo |
info, |
|
|
StreamingContext |
ctx |
|
) |
| |
|
inlineprotected |
Creates an exception from serialized data.
- Parameters
-
info | The serialized exception data. |
ctx | The serialization context. |
◆ ToJavaException()
static jvalue Codemesh.JuggerNET.JuggerNETException.ToJavaException |
( |
System.Exception |
e | ) |
|
|
inlinestatic |
Returns a jvalue
containing a Java exception instance, suitable for throwing into the JVM. If the passed in exception is a proxy exception, we simply set it into the result. If the passed in exception is a .NET exception, we take as much information as possible from it and create a Java RuntimeException
that we set into the result.
- Parameters
-
- Returns
- a
jvalue
containing a Java exception instance
◆ IsFrameworkException
abstract bool Codemesh.JuggerNET.JuggerNETException.IsFrameworkException |
|
get |
A readonly property that is true if the exception is due to an error in the JuggerNET framework, possibly due to a minsconfiguration or erroneous use of the JuggerNET API.
◆ IsProxyError
abstract bool Codemesh.JuggerNET.JuggerNETException.IsProxyError |
|
get |
A readonly property that is true if the exception is due to an error that occurred while executing Java code.
◆ IsProxyException
abstract bool Codemesh.JuggerNET.JuggerNETException.IsProxyException |
|
get |
A readonly property that is true if the exception is due to an exception that occurred while executing Java code.
The documentation for this class was generated from the following file: