Examples of BadKind


Examples of org.omg.CORBA.TypeCodePackage.BadKind

            _name = (String)_names.get(new Integer(_kind.value()));
        }
        */
        if (_name == null)
        {
            throw new BadKind();
        }
        return _name;
    }
View Full Code Here

Examples of org.omg.CORBA.TypeCodePackage.BadKind

        {
            return _ref.member_count();
        }
        if (_member_name == null)
        {
            throw new BadKind();
        }
        return _member_name.length;
    }
View Full Code Here

Examples of org.omg.CORBA.TypeCodePackage.BadKind

        {
            return _ref.member_name(index);
        }
        if (_member_name == null)
        {
            throw new BadKind();
        }
        if (index < 0 || index >= _member_name.length)
        {
            throw new Bounds();
        }
View Full Code Here

Examples of org.omg.CORBA.TypeCodePackage.BadKind

        {
            return _ref.member_type(index);
        }
        if (_member_type == null)
        {
            throw new BadKind();
        }
        if (index < 0 || index >= _member_type.length)
        {
            throw new Bounds();
        }
View Full Code Here

Examples of org.omg.CORBA.TypeCodePackage.BadKind

        {
            return _ref.member_label(index);
        }
        if (_member_label == null)
        {
            throw new BadKind();
        }
        if (index < 0 || index >= _member_label.length)
        {
            throw new Bounds();
        }
View Full Code Here

Examples of org.omg.CORBA.TypeCodePackage.BadKind

            return _ref.discriminator_type();
        }
        if (_ref == null
            || _kind.value() != TCKind._tk_union)
        {
            throw new BadKind();
        }
        return _ref;
    }
View Full Code Here

Examples of org.omg.CORBA.TypeCodePackage.BadKind

        {
            return _ref.default_index();
        }
        if (_kind.value() != TCKind._tk_union)
        {
            throw new BadKind();
        }
        return _default;
    }
View Full Code Here

Examples of org.omg.CORBA.TypeCodePackage.BadKind

        int tk = _kind.value();
        if (tk != TCKind._tk_string &&
            tk != TCKind._tk_wstring
            && tk != TCKind._tk_sequence && tk != TCKind._tk_array)
        {
            throw new BadKind();
        }
        return _length;
    }
View Full Code Here

Examples of org.omg.CORBA.TypeCodePackage.BadKind

            tk != TCKind._tk_array
            &&
            tk != TCKind._tk_sequence
            && tk != TCKind._tk_value_box))
        {
            throw new BadKind();
        }
        return _ref;
    }
View Full Code Here

Examples of org.omg.CORBA.TypeCodePackage.BadKind

            return _ref.fixed_digits();
        }
        int tk = _kind.value();
        if (tk != TCKind._tk_fixed)
        {
            throw new BadKind();
        }
        return _digits;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.