org.omg.DynamicAny.DynAnyFactoryPackage
Class InconsistentTypeCodeHelper

java.lang.Object
  extended by org.omg.DynamicAny.DynAnyFactoryPackage.InconsistentTypeCodeHelper

public abstract class InconsistentTypeCodeHelper
extends Object

The helper operations for the exception InconsistentTypeCode.


Constructor Summary
InconsistentTypeCodeHelper()
           
 
Method Summary
static InconsistentTypeCode extract(Any any)
          Extract the InconsistentTypeCode from given Any.
static String id()
          Get the InconsistentTypeCode repository id.
static void insert(Any any, InconsistentTypeCode that)
          Insert the InconsistentTypeCode into the given Any.
static InconsistentTypeCode read(InputStream input)
          Read the exception from the CDR intput stream.
static TypeCode type()
          Create the InconsistentTypeCode typecode (structure, named "InconsistentTypeCode").
static void write(OutputStream output, InconsistentTypeCode value)
          Write the exception to the CDR output stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InconsistentTypeCodeHelper

public InconsistentTypeCodeHelper()
Method Detail

type

public static TypeCode type()
Create the InconsistentTypeCode typecode (structure, named "InconsistentTypeCode").


insert

public static void insert(Any any,
                          InconsistentTypeCode that)
Insert the InconsistentTypeCode into the given Any.

Parameters:
any - the Any to insert into.
that - the InconsistentTypeCode to insert.

extract

public static InconsistentTypeCode extract(Any any)
Extract the InconsistentTypeCode from given Any.

Throws:
BAD_OPERATION - if the passed Any does not contain InconsistentTypeCode.

id

public static String id()
Get the InconsistentTypeCode repository id.

Returns:
"IDL:omg.org/DynamicAny/DynAnyFactory/InconsistentTypeCode:1.0".

read

public static InconsistentTypeCode read(InputStream input)
Read the exception from the CDR intput stream.

Parameters:
input - a org.omg.CORBA.portable stream to read from.

write

public static void write(OutputStream output,
                         InconsistentTypeCode value)
Write the exception to the CDR output stream.

Parameters:
output - a org.omg.CORBA.portable stream stream to write into.
value - a value to write.