org.omg.CosNaming.NamingContextPackage
Class NotFoundReason

java.lang.Object
  extended by org.omg.CosNaming.NamingContextPackage.NotFoundReason
All Implemented Interfaces:
Serializable, IDLEntity

public class NotFoundReason
extends Object
implements IDLEntity

Represents the reason (explanation), why the binding cannot be found.

See Also:
Serialized Form

Field Summary
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.
static NotFoundReason missing_node
          The reason, when the node is missing.
static NotFoundReason not_context
          The reason, when the binding type is object when it should be a context.
static NotFoundReason not_object
          The reason, when the binding type is context when it should be and object.
 
Constructor Summary
protected NotFoundReason(int a_value)
           
 
Method Summary
static NotFoundReason from_int(int value)
          Get the reason object from the reason code.
 int value()
          Get the reason code for this reason of not finding.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_missing_node

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

See Also:
Constant Field Values

_not_context

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

See Also:
Constant Field Values

_not_object

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

See Also:
Constant Field Values

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.

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.