JuggerNET Runtime Library v3.6.54.0  3.6.54.0
Public Member Functions | Protected Member Functions | Properties | List of all members
Codemesh.JuggerNET.JuggerNETFrameworkException Class Reference

The baseclass for all exceptions occuring in the JuggerNET framework, posibly due to a misconfiguration or due to programmer error. More...

Inheritance diagram for Codemesh.JuggerNET.JuggerNETFrameworkException:
Inheritance graph
[legend]
Collaboration diagram for Codemesh.JuggerNET.JuggerNETFrameworkException:
Collaboration graph
[legend]

Public Member Functions

 JuggerNETFrameworkException ()
 Creates a framework exception instance. More...
 
 JuggerNETFrameworkException (string msg)
 Creates a framework exception instance with a given message. More...
 
 JuggerNETFrameworkException (string msg, Exception exc)
 Creates a framework exception instance with a message and a root cause. More...
 

Protected Member Functions

 JuggerNETFrameworkException (SerializationInfo info, StreamingContext ctx)
 Creates a framework exception instance from seialized data. More...
 
- Protected Member Functions inherited from Codemesh.JuggerNET.JuggerNETException
 JuggerNETException ()
 The default constructor. More...
 
 JuggerNETException (string msg)
 Creates an exception with a given message. More...
 
 JuggerNETException (string msg, Exception exc)
 Creates an exception with a given message and root cause. More...
 
 JuggerNETException (SerializationInfo info, StreamingContext ctx)
 Creates an exception from serialized data. More...
 

Properties

override 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...
 
override bool IsProxyException [get]
 A readonly property that is true if the exception is due to an exception that occurred while executing Java code. More...
 
override bool IsProxyError [get]
 A readonly property that is true if the exception is due to an error that occurred while executing Java code. More...
 
- Properties inherited from Codemesh.JuggerNET.JuggerNETException
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...
 

Additional Inherited Members

- Static Public Member Functions inherited from Codemesh.JuggerNET.JuggerNETException
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...
 

Detailed Description

The baseclass for all exceptions occuring in the JuggerNET framework, posibly due to a misconfiguration or due to programmer error.

Constructor & Destructor Documentation

◆ JuggerNETFrameworkException() [1/4]

Codemesh.JuggerNET.JuggerNETFrameworkException.JuggerNETFrameworkException ( )
inline

Creates a framework exception instance.

◆ JuggerNETFrameworkException() [2/4]

Codemesh.JuggerNET.JuggerNETFrameworkException.JuggerNETFrameworkException ( string  msg)
inline

Creates a framework exception instance with a given message.

Parameters
msgThe exception message.

◆ JuggerNETFrameworkException() [3/4]

Codemesh.JuggerNET.JuggerNETFrameworkException.JuggerNETFrameworkException ( string  msg,
Exception  exc 
)
inline

Creates a framework exception instance with a message and a root cause.

Parameters
msgThe exception message.
excThe root cause.

◆ JuggerNETFrameworkException() [4/4]

Codemesh.JuggerNET.JuggerNETFrameworkException.JuggerNETFrameworkException ( SerializationInfo  info,
StreamingContext  ctx 
)
inlineprotected

Creates a framework exception instance from seialized data.

Parameters
infoThe serialized exception data.
ctxThe serialziation context.

Property Documentation

◆ IsFrameworkException

override bool Codemesh.JuggerNET.JuggerNETFrameworkException.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

override bool Codemesh.JuggerNET.JuggerNETFrameworkException.IsProxyError
get

A readonly property that is true if the exception is due to an error that occurred while executing Java code.

◆ IsProxyException

override bool Codemesh.JuggerNET.JuggerNETFrameworkException.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:

Copyright (c) 1999-2020 by Codemesh, Inc., ALL RIGHTS RESERVED.