Name

Environment

Synopsis

After a DII Request has been invoked, any exception that it may have thrown can be accessed by retrieving the Environment from the Request, using its env() method. The exception that was thrown can be retrieved from the Environment using its exception() method.

public abstract class Environment {
// Public Constructors
   public Environment();  
// Public Instance Methods
   public abstract void clear();  
   public abstract Exception exception();  
   public abstract void exception( Exception except);  
}

Returned By

org.omg.CORBA.ORB.create_environment(), Request.env()

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.