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