org.omg.IOP.CodecPackage
Class InvalidTypeForEncodingHelper

java.lang.Object
  extended by org.omg.IOP.CodecPackage.InvalidTypeForEncodingHelper

public abstract class InvalidTypeForEncodingHelper
extends Object

The helper operations for the exception InvalidTypeForEncoding.


Constructor Summary
InvalidTypeForEncodingHelper()
           
 
Method Summary
static InvalidTypeForEncoding extract(Any any)
          Extract the InvalidTypeForEncoding from given Any.
static String id()
          Get the InvalidTypeForEncoding repository id.
static void insert(Any any, InvalidTypeForEncoding that)
          Insert the InvalidTypeForEncoding into the given Any.
static InvalidTypeForEncoding read(InputStream input)
          Read the exception from the CDR intput stream.
static TypeCode type()
          Create the InvalidTypeForEncoding typecode (structure, named "InvalidTypeForEncoding").
static void write(OutputStream output, InvalidTypeForEncoding 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

InvalidTypeForEncodingHelper

public InvalidTypeForEncodingHelper()
Method Detail

type

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


insert

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

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

extract

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

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

id

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

Returns:
"IDL:omg.org/IOP/Codec/InvalidTypeForEncoding:1.0", always.

read

public static InvalidTypeForEncoding 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,
                         InvalidTypeForEncoding 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.