public abstract class WrongAdapterHelper extends Object
WrongAdapter
.Constructor and Description |
---|
WrongAdapterHelper() |
Modifier and Type | Method and Description |
---|---|
static WrongAdapter |
extract(Any any)
Extract the WrongAdapter from given Any.
|
static String |
id()
Get the WrongAdapter repository id.
|
static void |
insert(Any any,
WrongAdapter that)
Insert the WrongAdapter into the given Any.
|
static WrongAdapter |
read(InputStream input)
Read the exception from the CDR intput stream.
|
static TypeCode |
type()
Create the WrongAdapter typecode (empty structure,
named "WrongAdapter").
|
static void |
write(OutputStream output,
WrongAdapter value)
Write the exception to the CDR output stream.
|
public WrongAdapterHelper()
public static TypeCode type()
public static void insert(Any any, WrongAdapter that)
any
- the Any to insert into.that
- the WrongAdapter to insert.public static WrongAdapter extract(Any any)
BAD_OPERATION
- if the passed Any does not contain WrongAdapter.public static String id()
public static WrongAdapter read(InputStream input)
input
- a org.omg.CORBA.portable stream to read from.public static void write(OutputStream output, WrongAdapter value)
output
- a org.omg.CORBA.portable stream stream to write into.value
- a value to write.