org.omg.PortableInterceptor.ORBInitInfoPackage
Class InvalidNameHelper

java.lang.Object
  extended by org.omg.PortableInterceptor.ORBInitInfoPackage.InvalidNameHelper

public abstract class InvalidNameHelper
extends Object

The helper operations for the exception InvalidName.


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

InvalidNameHelper

public InvalidNameHelper()
Method Detail

type

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


insert

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

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

extract

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

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

id

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

Returns:
"IDL:omg.org/PortableInterceptor/ORBInitInfo/InvalidName:1.0".

read

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