An object used in Request operations to
describe the exceptions that can be thrown by a method. It maintains a
modifiable list of TypeCodes of the exceptions.
The following code fragment demonstrates creating
an ExceptionList object:
The variable excList represents an ExceptionList
object with no TypeCode objects in it.
To add items to the list, you first create a TypeCode object
for the exception you want to include, using the ORB method
create_exception_tc. Then you use the ExceptionList
method add to add it to the list.
The class ExceptionList has a method for getting
the number of TypeCode objects in the list, and after
items have been added, it is possible to call methods for accessing
or deleting an item at a designated index.
Submit a bug or feature For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, California, 94303, U.S.A. All Rights Reserved.