/** Insert the exception into the given {@link Any}. */ public static void insert(Any a, InvalidName that) { a.insert_Streamable(new InvalidNameHolder(that)); }
/** * Insert the ObjectNotActive into the given Any. * * @param any the Any to insert into. * @param that the ObjectNotActive to insert. */ public static void insert(Any any, ObjectNotActive that) { any.insert_Streamable(new EmptyExceptionHolder(that, type())); }
/** Insert the naming context into the given {@link Any} */ public static void insert(Any a, NamingContextExt that) { a.insert_Streamable(new NamingContextExtHolder(that)); }
/** * Insert the TaggedComponent into the given Any. This method uses the TaggedComponentHolder. * * @param any the Any to insert into. * @param that the TaggedComponent to insert. */ public static void insert(Any any, TaggedComponent that) { any.insert_Streamable(new TaggedComponentHolder(that)); }
/** * Insert the UnknownUserException into the given Any. This method uses the * UnknownUserExceptionHolder. * * @param any the Any to insert into. * @param that the UnknownUserException to insert. */ public static void insert(Any any, UnknownUserException that) { any.insert_Streamable(new UnknownUserExceptionHolder(that)); }
/** * Insert the InvalidSlot into the given Any. * * @param any the Any to insert into. * @param that the InvalidSlot to insert. */ public static void insert(Any any, InvalidSlot that) { any.insert_Streamable(new EmptyExceptionHolder(that, type())); }