org.omg.CORBA
Class Environment

java.lang.Object
  extended by org.omg.CORBA.Environment

public abstract class Environment
extends Object

A container for an exception, that has been thrown by the method of the CORBA object.


Constructor Summary
Environment()
           
 
Method Summary
abstract  void clear()
          Removes the exception object from this container.
abstract  Exception exception()
          Returns an exception, enclosed in this container.
abstract  void exception(Exception except)
          Inserts the given exception into this container.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Environment

public Environment()
Method Detail

clear

public abstract void clear()
Removes the exception object from this container.


exception

public abstract Exception exception()
Returns an exception, enclosed in this container.

Returns:
the enclosed exception or null if no any exception has been thrown or clear() has been previously called.

exception

public abstract void exception(Exception except)
Inserts the given exception into this container.

Parameters:
except - the exception to insert.