38 |
|
|
39 |
package org.omg.PortableInterceptor.ORBInitInfoPackage; |
package org.omg.PortableInterceptor.ORBInitInfoPackage; |
40 |
|
|
41 |
|
import gnu.CORBA.*; |
42 |
|
|
43 |
import org.omg.CORBA.Any; |
import org.omg.CORBA.Any; |
44 |
import org.omg.CORBA.BAD_OPERATION; |
import org.omg.CORBA.BAD_OPERATION; |
45 |
import org.omg.CORBA.ORB; |
import org.omg.CORBA.ORB; |
48 |
import org.omg.CORBA.TypeCode; |
import org.omg.CORBA.TypeCode; |
49 |
import org.omg.CORBA.portable.InputStream; |
import org.omg.CORBA.portable.InputStream; |
50 |
import org.omg.CORBA.portable.OutputStream; |
import org.omg.CORBA.portable.OutputStream; |
|
import gnu.CORBA.*; |
|
51 |
|
|
52 |
/** |
/** |
53 |
* The helper operations for the exception {@link DuplicateName}. |
* The helper operations for the exception {@link DuplicateName}. |
54 |
* |
* |
55 |
* @author Audrius Meskauskas, Lithiania (AudriusA@Bioinformatics.org) |
* @author Audrius Meskauskas, Lithiania (AudriusA@Bioinformatics.org) |
56 |
*/ |
*/ |
57 |
public abstract class DuplicateNameHelper |
public abstract class DuplicateNameHelper |
58 |
{ |
{ |
59 |
/** |
/** |
84 |
} |
} |
85 |
|
|
86 |
/** |
/** |
87 |
* Insert the DuplicateName into the given Any. |
* Insert the DuplicateName into the given Any. |
88 |
* This method uses the DuplicateNameHolder. |
* This method uses the DuplicateNameHolder. |
89 |
* |
* |
90 |
* @param any the Any to insert into. |
* @param any the Any to insert into. |
91 |
* @param that the DuplicateName to insert. |
* @param that the DuplicateName to insert. |
92 |
*/ |
*/ |
93 |
public static void insert(Any any, DuplicateName that) |
public static void insert(Any any, DuplicateName that) |
94 |
{ |
{ |
95 |
any.insert_Streamable(new DuplicateNameHolder(that)); |
any.insert_Streamable(new DuplicateNameHolder(that)); |