All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.omg.CORBA.Environment

java.lang.Object
   |
   +----org.omg.CORBA.Environment

public abstract class Environment
extends Object
The Environment interface encapsulates an exception. It is used in conjunction with the dynamic invocation interface to provide a place for exceptions raised by asynchronous DII requests.

See Also:
env

Constructor Index

 o Environment()

Method Index

 o clear()
Clear the current exception.
 o exception()
Get the current exception.
 o exception(Exception)
Set the current exception.

Constructors

 o Environment
 public Environment()

Methods

 o exception
 public abstract void exception(Exception exception)
Set the current exception. When setting, any previously stored exception will be lost.

 o exception
 public abstract Exception exception()
Get the current exception. If no exception has been set, returns null.

 o clear
 public abstract void clear()
Clear the current exception. This is the same as setting the exception to null.


All Packages  Class Hierarchy  This Package  Previous  Next  Index