org.omg.CORBA

Class ExceptionList

public abstract class ExceptionList extends Object

Stores exceptions that can be thrown when invoking a method of an CORBA {@link org.omg.CORBA.Object}.
Method Summary
abstract voidadd(TypeCode an_exception)
Add the typecode of the given exception to the list.
abstract intcount()
Get the number of the stored exceptions.
abstract TypeCodeitem(int at)
Get the item at the given position.
abstract voidremove(int at)
Remove the item at the given position.

Method Detail

add

public abstract void add(TypeCode an_exception)
Add the typecode of the given exception to the list.

count

public abstract int count()
Get the number of the stored exceptions.

item

public abstract TypeCode item(int at)
Get the item at the given position.

Parameters: at the index

Throws: Bounds if the index is out of range.

remove

public abstract void remove(int at)
Remove the item at the given position.

Parameters: at the index

Throws: Bounds if the index is out of range.