code: public void add(int index, Object o) {
      	if (isAddedCompletely()) {
      		throw new IllegalStateException("This LargeElement has already been added to the Document.");
      	}
          try {
              Element element = (Element) o;
              if (element.isNestable()) {
                  super.add(index, element);
              }
              else {
                  throw new ClassCastException("You can't add a " + element.getClass().getName() + " to a Section.");
              }
          }
          catch(ClassCastException cce) {
              throw new ClassCastException("Insertion of illegal Element: " + cce.getMessage());
          }
      }
docs: Adds a <CODE>Paragraph</CODE>, <CODE>List</CODE> or <CODE>Table</CODE>
  to this <CODE>Section</CODE>.
  
  @param	index	index at which the specified element is to be inserted
  @param	o   	an object of type <CODE>Paragraph</CODE>, <CODE>List</CODE> or <CODE>Table</CODE>=
  @throws	ClassCastException if the object is not a <CODE>Paragraph</CODE>, <CODE>List</CODE> or <CODE>Table</CODE>