Home » openjdk-7 » javax » naming » [javadoc | source]
javax.naming
public class: NoPermissionException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         javax.naming.NamingException
            javax.naming.NamingSecurityException
               javax.naming.NoPermissionException

All Implemented Interfaces:
    Serializable

This exception is thrown when attempting to perform an operation for which the client has no permission. The access control/permission model is dictated by the directory/naming server.

Synchronization and serialization issues that apply to NamingException apply directly here.

Fields inherited from javax.naming.NamingException:
resolvedName,  resolvedObj,  remainingName,  rootException
Fields inherited from java.lang.Exception:
serialVersionUID
Constructor:
 public NoPermissionException() 
 public NoPermissionException(String explanation) 
    Constructs a new instance of NoPermissionException using an explanation. All other fields default to null.
    Parameters:
    explanation - Possibly null additional detail about this exception.
Methods from javax.naming.NamingException:
appendRemainingComponent,   appendRemainingName,   getCause,   getExplanation,   getRemainingName,   getResolvedName,   getResolvedObj,   getRootCause,   initCause,   setRemainingName,   setResolvedName,   setResolvedObj,   setRootCause,   toString,   toString
Methods from java.lang.Throwable:
addSuppressed,   fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   getStackTraceDepth,   getStackTraceElement,   getSuppressed,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait