com.ibm.websphere.naming
Class WsnCorbaMinorCodes

java.lang.Object
  |
  +--com.ibm.websphere.naming.WsnCorbaMinorCodes

public class WsnCorbaMinorCodes
extends java.lang.Object

The WebSphere CORBA CosNaming name server implementation has error conditions specific to its implementation. These specific error conditions are communicated to the client by means of the minor code contained in the exception.

If, for some reason, a CosNaming client needs to check for one of these specific error conditions, the minor code can be compared to the corresponding minor code value defined in this class.

The description of each minor code value states which CORBA exception type might contain that value, and the JNDI exception type the minor code maps to.


Field Summary
static int CANNOT_DESTROY_OR_UNBIND_CONTEXT
          Cannot unbind a primary context binding or destroy a linked context.
static int CANNOT_PERFORM_OPERATION_ON_FEDERATED_CONTEXT
          Operation cannot be delegated to federated context of unknown implementation.
static int DESTROY_PROTECTED_CONTEXT
          Cannot destroy context.
static int WRITE_PROTECTED_CONTEXT
          Update operation on context is not permitted.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CANNOT_DESTROY_OR_UNBIND_CONTEXT

public static final int CANNOT_DESTROY_OR_UNBIND_CONTEXT
Cannot unbind a primary context binding or destroy a linked context.

Applicable CORBA exception classes: org.omg.CORBA.IMP_LIMIT

Maps to JNDI exceptions com.ibm.ws.naming.util.CannotDestroySubcontextException or com.ibm.ws.naming.util.CannotUnbindSubcontextException for destroySubcontext and unbind operations, respectively.

Value: 0x49421080 (1,229,066,368)

See Also:
Constant Field Values

DESTROY_PROTECTED_CONTEXT

public static final int DESTROY_PROTECTED_CONTEXT
Cannot destroy context. Context is destroy-protected.

Applicable CORBA exception classes: org.omg.CORBA.IMP_LIMIT

Maps to JNDI exception com.ibm.websphere.naming.DestroyProtectedContextException.

Value: 0x49421081 (1,229,066,369)

See Also:
Constant Field Values

WRITE_PROTECTED_CONTEXT

public static final int WRITE_PROTECTED_CONTEXT
Update operation on context is not permitted. Context is marked as read-only.

Applicable CORBA exception classes: org.omg.CORBA.IMP_LIMIT

Maps to JNDI exception com.ibm.websphere.naming.WriteProtectedContextException.

Value: 0x49421082 (1,229,066,370)

See Also:
Constant Field Values

CANNOT_PERFORM_OPERATION_ON_FEDERATED_CONTEXT

public static final int CANNOT_PERFORM_OPERATION_ON_FEDERATED_CONTEXT
Operation cannot be delegated to federated context of unknown implementation. Some operations that are specific to the Websphere naming implementition cannot be mapped to the org.omg.CosNamng.NamingContext interface.

Applicable CORBA exception classes: org.omg.CORBA.NO_IMPLEMENT

Maps to JNDI exception javax.naming.OperationNotSupported.

Value: 0x49421083 (1,229,066,371)

See Also:
Constant Field Values


 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.