Examples of BadKind


Examples of org.omg.CORBA.TypeCodePackage.BadKind

            return _ref.type_modifier();
        }
        int tk = _kind.value();
        if (tk != TCKind._tk_value)
        {
            throw new BadKind();
        }
        return _type_modifier;
    }
View Full Code Here

Examples of org.omg.CORBA.TypeCodePackage.BadKind

            return _ref.concrete_base_type();
        }
        int tk = _kind.value();
        if (tk != TCKind._tk_value)
        {
            throw new BadKind();
        }
        return _ref;
    }
View Full Code Here

Examples of org.omg.CORBA.TypeCodePackage.BadKind

            // exception and objref typecodes must have a repository id.
            // structs, unions, enums, and aliases may or may not.
            return _id;
        default:
            // all other typecodes throw the BadKind exception.
            throw new BadKind();
        }
    }
View Full Code Here

Examples of org.omg.CORBA.TypeCodePackage.BadKind

        case TCKind._tk_value_box:
        case TCKind._tk_native:
        case TCKind._tk_abstract_interface:
            return _name;
        default:
            throw new BadKind();
        }
    }
View Full Code Here

Examples of org.omg.CORBA.TypeCodePackage.BadKind

        case TCKind._tk_union:
        case TCKind._tk_enum:
        case TCKind._tk_value:
            return _memberCount;
        default:
            throw new BadKind();
        }
    }
View Full Code Here

Examples of org.omg.CORBA.TypeCodePackage.BadKind

                return _memberNames[index];
            } catch (ArrayIndexOutOfBoundsException e) {
                throw new org.omg.CORBA.TypeCodePackage.Bounds();
            }
        default:
            throw new BadKind();
        }
    }
View Full Code Here

Examples of org.omg.CORBA.TypeCodePackage.BadKind

                return _memberTypes[index];
            } catch (ArrayIndexOutOfBoundsException e) {
                throw new org.omg.CORBA.TypeCodePackage.Bounds();
            }
        default:
            throw new BadKind();
        }
    }
View Full Code Here

Examples of org.omg.CORBA.TypeCodePackage.BadKind

                return new AnyImpl(_orb, _unionLabels[index]);
            } catch (ArrayIndexOutOfBoundsException e) {
                throw new org.omg.CORBA.TypeCodePackage.Bounds();
            }
        default:
            throw new BadKind();
        }
    }
View Full Code Here

Examples of org.omg.CORBA.TypeCodePackage.BadKind

        case tk_indirect:
            return indirectType().discriminator_type();
        case TCKind._tk_union:
            return _discriminator;
        default:
            throw new BadKind();
        }
    }
View Full Code Here

Examples of org.omg.CORBA.TypeCodePackage.BadKind

        case tk_indirect:
            return indirectType().default_index();
        case TCKind._tk_union:
            return _defaultIndex;
        default:
            throw new BadKind();
        }
    }
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.