org.omg.CosNaming.NamingContextPackage

Class NotFoundReason

public final class NotFoundReason extends Object implements IDLEntity

This enum defines several constants to speficy an exception reason for the NotFound exception. Its values are : - missing_node which implies that in the asked path a node is invalid. - not_context which implies that the asked naming context is not a naming context ( so, it is an object ). - not_object which implies that the asked object is not an object ( but a naming context ).
Field Summary
static NotFoundReasonmissing_node
Enum member missing_node
static NotFoundReasonnot_context
Enum member not_context
static NotFoundReasonnot_object
Enum member not_object
static int_missing_node
Enum member missing_node value
static int_not_context
Enum member not_context value
static int_not_object
Enum member not_object value
Method Summary
static NotFoundReasonfrom_int(int value)
Return a enum member from its value.
ObjectreadResolve()
Maintains singleton property for serialized enums.
StringtoString()
Return a string representation
intvalue()
Return the internal member value

Field Detail

missing_node

public static final NotFoundReason missing_node
Enum member missing_node

not_context

public static final NotFoundReason not_context
Enum member not_context

not_object

public static final NotFoundReason not_object
Enum member not_object

_missing_node

public static final int _missing_node
Enum member missing_node value

_not_context

public static final int _not_context
Enum member not_context value

_not_object

public static final int _not_object
Enum member not_object value

Method Detail

from_int

public static NotFoundReason from_int(int value)
Return a enum member from its value.

Parameters: value An enum value

Returns: An enum member

readResolve

public Object readResolve()
Maintains singleton property for serialized enums. Issue 4271: IDL/Java issue, Mapping for IDL enum.

toString

public String toString()
Return a string representation

Returns: a string representation of the enumeration

value

public int value()
Return the internal member value

Returns: the member value