- java.lang.Object
-
- org.omg.CORBA.Environment
-
public abstract class Environment extends Object
A container (holder) for an exception that is used inRequestoperations to make exceptions available to the client. AnEnvironmentobject is created with theORBmethodcreate_environment.- Since:
- JDK1.2
-
-
Constructor Summary
Constructors Constructor Description Environment()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidclear()Clears thisEnvironmentobject of its exception.abstract Exceptionexception()Retrieves the exception in thisEnvironmentobject.abstract voidexception(Exception except)Inserts the given exception into thisEnvironmentobject.
-
-
-
Method Detail
-
exception
public abstract Exception exception()
Retrieves the exception in thisEnvironmentobject.- Returns:
- the exception in this
Environmentobject
-
exception
public abstract void exception(Exception except)
Inserts the given exception into thisEnvironmentobject.- Parameters:
except- the exception to be set
-
clear
public abstract void clear()
Clears thisEnvironmentobject of its exception.
-
-