Class ExceptionListImpl

java.lang.Object
org.omg.CORBA.ExceptionList
com.sun.corba.ee.impl.corba.ExceptionListImpl

public class ExceptionListImpl extends ExceptionList
  • Field Details

  • Constructor Details

    • ExceptionListImpl

      public ExceptionListImpl()
  • Method Details

    • count

      public int count()
      Description copied from class: ExceptionList
      Retrieves the number of TypeCode objects in this ExceptionList object.
      Specified by:
      count in class ExceptionList
      Returns:
      the number of TypeCode objects in this ExceptionList object
    • add

      public void add(TypeCode tc)
      Description copied from class: ExceptionList
      Adds a TypeCode object describing an exception to this ExceptionList object.
      Specified by:
      add in class ExceptionList
      Parameters:
      tc - the TypeCode object to be added
    • item

      public TypeCode item(int index) throws Bounds
      Description copied from class: ExceptionList
      Returns the TypeCode object at the given index. The first item is at index 0.
      Specified by:
      item in class ExceptionList
      Parameters:
      index - the index of the TypeCode object desired. This must be an int between 0 and the number of TypeCode objects minus one, inclusive.
      Returns:
      the TypeCode object at the given index
      Throws:
      Bounds - if the index given is greater than or equal to the number of TypeCode objects in this ExceptionList object
    • remove

      public void remove(int index) throws Bounds
      Description copied from class: ExceptionList
      Removes the TypeCode object at the given index. Note that the indices of all the TypeCoded objects following the one deleted are shifted down by one.
      Specified by:
      remove in class ExceptionList
      Parameters:
      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.
      Throws:
      Bounds - if the index is greater than or equal to the number of TypeCode objects in this ExceptionList object