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