org.omg.CosNaming.NamingContextPackage

Class NotFoundReason

public class NotFoundReason extends Object implements IDLEntity

Represents the reason (explanation), why the binding cannot be found.
Field Summary
static NotFoundReasonmissing_node
The reason, when the node is missing.
static NotFoundReasonnot_context
The reason, when the binding type is object when it should be a context.
static NotFoundReasonnot_object
The reason, when the binding type is context when it should be and object.
static int_missing_node
The code for reason, when the node is missing.
static int_not_context
The code for reason, when the binding type is object when it should be a context.
static int_not_object
The code for reason, when the binding type is context when it should be an object.
Constructor Summary
protected NotFoundReason(int a_value)
Method Summary
static NotFoundReasonfrom_int(int value)
Get the reason object from the reason code.
intvalue()
Get the reason code for this reason of not finding.

Field Detail

missing_node

public static final NotFoundReason missing_node
The reason, when the node is missing.

not_context

public static final NotFoundReason not_context
The reason, when the binding type is object when it should be a context.

not_object

public static final NotFoundReason not_object
The reason, when the binding type is context when it should be and object.

_missing_node

public static final int _missing_node
The code for reason, when the node is missing.

_not_context

public static final int _not_context
The code for reason, when the binding type is object when it should be a context.

_not_object

public static final int _not_object
The code for reason, when the binding type is context when it should be an object.

Constructor Detail

NotFoundReason

protected NotFoundReason(int a_value)

Method Detail

from_int

public static NotFoundReason from_int(int value)
Get the reason object from the reason code.

Throws: BAD_PARAM for unsupported code.

value

public int value()
Get the reason code for this reason of not finding.