Package org.omg.CosCollection

Examples of org.omg.CosCollection.ElementInvalid


        {
            return data.indexOf( element ) >= 0;
        }
        catch ( ObjectInvalid e )
        {
            throw new ElementInvalid( ElementInvalidReason.element_type_invalid );
        }
    }
View Full Code Here


                element_add( element );
                return false;
            }
            return true;
        } catch ( ObjectInvalid e ){
            throw new ElementInvalid( ElementInvalidReason.element_type_invalid );
        }
    }
View Full Code Here

                i.set_pos( pos );
                i.set_in_between( false );
                return true;
            }
        } catch ( ObjectInvalid e ){
            throw new ElementInvalid( ElementInvalidReason.element_type_invalid );
        }
    }
View Full Code Here

            } else {
                i.invalidate();
                return false;
            }
        } catch ( ObjectInvalid e ){
            throw new ElementInvalid( ElementInvalidReason.element_type_invalid );
        }
    }
View Full Code Here

                }
            }
            i.invalidate();
            return false;
        } catch ( ObjectInvalid e ){
            throw new ElementInvalid( ElementInvalidReason.element_type_invalid );
        }
    }
View Full Code Here

                element_remove( 0 );
                return true;
            }
            return false;
        } catch ( ObjectInvalid e ){
            throw new ElementInvalid( ElementInvalidReason.element_type_invalid );
        } catch ( Exception e ){
            e.printStackTrace( System.out );
            throw new org.omg.CORBA.INTERNAL();
        }
    }
View Full Code Here

                element_remove( pos );
                count++;
            }
            return count;
        } catch ( ObjectInvalid e ){
            throw new ElementInvalid( ElementInvalidReason.element_type_invalid );
        } catch ( Exception e ){
            e.printStackTrace( System.out );
            throw new org.omg.CORBA.INTERNAL();
        }
    }
View Full Code Here

    /* ========================================================================= */
    public synchronized  void add_element_as_first(Any element) throws ElementInvalid{
        try {
            add_element_at_position( 0, element );
        } catch ( PositionInvalid e ){
            throw new ElementInvalid( ElementInvalidReason.positioning_property_invalid );
        }
    }
View Full Code Here

    public synchronized  void add_element_as_last(Any element) throws ElementInvalid{
        int pos = data.size();
        try {
            add_element_at_position(pos, element );
        } catch ( PositionInvalid e ){
            throw new ElementInvalid( ElementInvalidReason.positioning_property_invalid );
        }
    }
View Full Code Here

        PositionalIteratorImpl i = check_iterator( where );
        int pos = i.get_pos();
        try {
            add_element_at_position( pos+1, element );
        } catch ( PositionInvalid e ){
            throw new ElementInvalid( ElementInvalidReason.positioning_property_invalid );
        }
    }
View Full Code Here

TOP

Related Classes of org.omg.CosCollection.ElementInvalid

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.