FileDocCategorySizeDatePackage
ExceptionListImpl.javaAPI DocJava SE 5 API1436Fri Aug 26 14:54:18 BST 2005com.sun.corba.se.impl.corba

ExceptionListImpl

public class ExceptionListImpl extends org.omg.CORBA.ExceptionList

Fields Summary
private final int
INITIAL_CAPACITY
private final int
CAPACITY_INCREMENT
private Vector
_exceptions
Constructors Summary
public ExceptionListImpl()


      
	_exceptions = new Vector(INITIAL_CAPACITY, CAPACITY_INCREMENT);
    
Methods Summary
public voidadd(org.omg.CORBA.TypeCode tc)

	_exceptions.addElement(tc);
    
public intcount()

	return _exceptions.size();
    
public org.omg.CORBA.TypeCodeitem(int index)

	try {
	    return (TypeCode) _exceptions.elementAt(index);
	} catch (ArrayIndexOutOfBoundsException e) {
	    throw new Bounds();
	}
    
public voidremove(int index)

	try {
	    _exceptions.removeElementAt(index);
	} catch (ArrayIndexOutOfBoundsException e) {
	    throw new Bounds();
	}