org.omg.CORBA
Class Environment

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by org.omg.CORBA.Environment

public abstract class Environment
extends Object sample code for java.lang.Object definition code for java.lang.Object

A container (holder) for an exception that is used in Request operations to make exceptions available to the client. An Environment object is created with the ORB method create_environment.

Since:
JDK1.2

Constructor Summary
Environment sample code for org.omg.CORBA.Environment.Environment() definition code for org.omg.CORBA.Environment.Environment() ()
           
 
Method Summary
abstract  void clear sample code for org.omg.CORBA.Environment.clear() definition code for org.omg.CORBA.Environment.clear() ()
          Clears this Environment object of its exception.
abstract  Exception sample code for java.lang.Exception definition code for java.lang.Exception exception sample code for org.omg.CORBA.Environment.exception() definition code for org.omg.CORBA.Environment.exception() ()
          Retrieves the exception in this Environment object.
abstract  void exception sample code for org.omg.CORBA.Environment.exception(java.lang.Exception) definition code for org.omg.CORBA.Environment.exception(java.lang.Exception) (Exception sample code for java.lang.Exception definition code for java.lang.Exception  except)
          Inserts the given exception into this Environment object.
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Constructor Detail

Environment sample code for org.omg.CORBA.Environment() definition code for org.omg.CORBA.Environment()

public Environment()
Method Detail

exception sample code for org.omg.CORBA.Environment.exception() definition code for org.omg.CORBA.Environment.exception()

public abstract Exception sample code for java.lang.Exception definition code for java.lang.Exception  exception()
Retrieves the exception in this Environment object.

Returns:
the exception in this Environment object

exception sample code for org.omg.CORBA.Environment.exception(java.lang.Exception) definition code for org.omg.CORBA.Environment.exception(java.lang.Exception)

public abstract void exception(Exception sample code for java.lang.Exception definition code for java.lang.Exception  except)
Inserts the given exception into this Environment object.

Parameters:
except - the exception to be set

clear sample code for org.omg.CORBA.Environment.clear() definition code for org.omg.CORBA.Environment.clear()

public abstract void clear()
Clears this Environment object of its exception.