Name
ExceptionList
Synopsis
This class represents a list of exceptions that can be thrown by a
remote method, in the form of the TypeCodes
for the corresponding
Exception
classes. An ExceptionList
can be created using the
ORB.create_exception_list()
method, the TypeCodes
for each required
exception can be created using the ORB.create_exception_tc()
method,
and the complete ExceptionList
can be used to create a DII Request
object.
public abstract class ExceptionList { // Public Constructors public ExceptionList(); // Public Instance Methods public abstract void add( TypeCode exc); public abstract int count(); public abstract TypeCode item( int index) throws org.omg.CORBA.Bounds; public abstract void remove( int index) throws org.omg.CORBA.Bounds; }
Passed To
LocalObject._create_request()
, org.omg.CORBA.Object._create_request()
, org.omg.CORBA.portable.Delegate.create_request()
, org.omg.CORBA.portable.ObjectImpl._create_request()
Returned By
org.omg.CORBA.ORB.create_exception_list()
, Request.exceptions()
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.