com.ibm.websphere.naming
Class WriteProtectedContextException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--javax.naming.NamingException
                    |
                    +--com.ibm.websphere.naming.WebSphereNamingException
                          |
                          +--com.ibm.websphere.naming.WriteProtectedContextException
All Implemented Interfaces:
java.io.Serializable

public class WriteProtectedContextException
extends WebSphereNamingException

Some contexts in a WebSphere name space accessed through JNDI may be write-protected. Write operations such as bind and unbind are not permitted on the context. Such contexts include those comprising the WebSphere system name space, which is a fixed structure. This exception is thrown when a write operation is performed on a write-protected context.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.naming.NamingException
remainingName, resolvedName, resolvedObj, rootException
 
Constructor Summary
WriteProtectedContextException(java.lang.String msg)
          This constructor creates an instance of WriteProtectedContextException.
 
Methods inherited from class javax.naming.NamingException
appendRemainingComponent, appendRemainingName, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, printStackTrace, printStackTrace, printStackTrace, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WriteProtectedContextException

public WriteProtectedContextException(java.lang.String msg)
This constructor creates an instance of WriteProtectedContextException.

Parameters:
msg - The message associated with the exception.


 

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.