|
Préférences
Moteurs de recherche
|
||||||||||||||||
JavaTM 2 Platform Std. Ed. v1.4.2
org.omg.CORBA
|
Constructor Summary | |
ExceptionList()
|
Method Summary | |
abstract void |
add(TypeCode exc)
Adds a TypeCode object describing an exception
to this ExceptionList object. |
abstract int |
count()
Retrieves the number of TypeCode objects in this
ExceptionList object. |
abstract TypeCode |
item(int index)
Returns the TypeCode object at the given index. |
abstract void |
remove(int index)
Removes the TypeCode object at the given index. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ExceptionList()
Method Detail |
public abstract int count()
TypeCode
objects in this
ExceptionList
object.
TypeCode
objects in this
ExceptionList
objectpublic abstract void add(TypeCode exc)
TypeCode
object describing an exception
to this ExceptionList
object.
exc
- the TypeCode
object to be addedpublic abstract TypeCode item(int index) throws Bounds
TypeCode
object at the given index. The first
item is at index 0.
index
- the index of the TypeCode
object desired.
This must be an int
between 0 and the
number of TypeCode
objects
minus one, inclusive.
TypeCode
object at the given index
Bounds
- if the index given is greater than
or equal to the number of TypeCode
objects
in this ExceptionList
objectpublic abstract void remove(int index) throws Bounds
TypeCode
object at the given index.
Note that the indices of all the TypeCoded
objects
following the one deleted are shifted down by one.
index
- the index of the TypeCode
object to be
removed.
This must be an int
between 0 and the
number of TypeCode
objects
minus one, inclusive.
Bounds
- if the index is greater than
or equal to the number of TypeCode
objects
in this ExceptionList
object