};
/* ------------------------------------------------------------------------- */
public synchronized void replace_element_at(org.omg.CosCollection.Iterator where, Any element) throws IteratorInvalid,IteratorInBetween,ElementInvalid {
PositionalIteratorImpl i = check_iterator( where );
if( i.is_in_between() ){
throw new IteratorInBetween();
}
int pos = i.get_pos();
try {
element_replace( pos, element );
} catch ( PositionInvalid e ){