API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.naming. CannotProceedException View Source
Author(s)
Rosanna Lee
Scott Seligman
Since
1.3
Version
1.12 05/11/17
Serial
Hierarchy
 Object
      Throwable
          Exception
              NamingException
                  CannotProceedException
Implements
Subclasses
Description
public exception CannotProceedException
  This exception is thrown to indicate that the operation reached a point in the name where the operation cannot proceed any further.
See also:   
Constructors
public CannotProceedException ()
  Constructs a new instance of CannotProceedException.
public CannotProceedException (String explanation)
  Constructs a new instance of CannotProceedException using an explanation.
Methods
Hide/Show inherited methods
public void appendRemainingComponent (String name) [Inherited From NamingException]
  Add name as the last component in remaining name.
public void appendRemainingName (Name name) [Inherited From NamingException]
  Add components from 'name' as the last components in remaining name.
publicsynchronizednative Throwable fillInStackTrace () [Inherited From Throwable]
  Fills in the execution stack trace.
public Name getAltName ()
  Retrieves the altName field of this exception.
public Context getAltNameCtx ()
  Retrieves the altNameCtx field of this exception.
public Throwable getCause () [Inherited From NamingException]
  Returns the cause of this exception.
public Hashtable<Object, Object> getEnvironment ()
  Retrieves the environment that was in effect when this exception was created.
public String getExplanation () [Inherited From NamingException]
  Retrieves the explanation associated with this exception.
public String getLocalizedMessage () [Inherited From Throwable]
  Creates a localized description of this throwable.
public String getMessage () [Inherited From Throwable]
  Returns the detail message string of this throwable.
public Name getRemainingName () [Inherited From NamingException]
  Retrieves the remaining unresolved portion of the name.
public Name getRemainingNewName ()
  Retrieves the "remaining new name" field of this exception, which is used when this exception is thrown during a rename() operation.
public Name getResolvedName () [Inherited From NamingException]
  Retrieves the leading portion of the name that was resolved successfully.
public Object getResolvedObj () [Inherited From NamingException]
  Retrieves the object to which resolution was successful.
public Throwable getRootCause () [Inherited From NamingException]
  Retrieves the root cause of this NamingException, if any.
public StackTraceElement getStackTrace () [Inherited From Throwable]
  Provides programmatic access to the stack trace information printed by Throwable.printStackTrace().
public Throwable initCause (Throwable cause) [Inherited From NamingException]
  Initializes the cause of this exception to the specified value.
public void printStackTrace () [Inherited From Throwable]
  Prints this throwable and its backtrace to the standard error stream.
public void printStackTrace (PrintStream s) [Inherited From Throwable]
  Prints this throwable and its backtrace to the specified print stream.
public void printStackTrace (PrintWriter s) [Inherited From Throwable]
  Prints this throwable and its backtrace to the specified print writer.
public void setAltName (Name altName)
  Sets the altName field of this exception.
public void setAltNameCtx (Context altNameCtx)
  Sets the altNameCtx field of this exception.
public void setEnvironment (Hashtable<Object, Object> environment)
  Sets the environment that will be returned when getEnvironment() is called.
public void setRemainingName (Name name) [Inherited From NamingException]
  Sets the remaining name field of this exception.
public void setRemainingNewName (Name newName)
  Sets the "remaining new name" field of this exception.
public void setResolvedName (Name name) [Inherited From NamingException]
  Sets the resolved name field of this exception.
public void setResolvedObj (Object obj) [Inherited From NamingException]
  Sets the resolved object field of this exception.
public void setRootCause (Throwable e) [Inherited From NamingException]
  Records the root cause of this NamingException.
public void setStackTrace (StackTraceElement stackTrace) [Inherited From Throwable]
  Sets the stack trace elements that will be returned by Throwable.getStackTrace() and printed by Throwable.printStackTrace() and related methods.
public String toString () [Inherited From NamingException]
  Generates the string representation of this exception.
public String toString (boolean detail) [Inherited From NamingException]
  Generates the string representation in more detail.
Fields
Hide/Show inherited fields
protected Name altName
  Contains the name of the resolved object, relative to the context altNameCtx.
protected Context altNameCtx
  Contains the context relative to which altName is specified.
protected Hashtable<Object, Object> environment
  Contains the environment relevant for the Context or DirContext method that cannot proceed.
protected Name remainingName [Inherited From NamingException]
  Contains the remaining name that has not been resolved yet.
protected Name remainingNewName
  Contains the remaining unresolved part of the second "name" argument to Context.rename().
protected Name resolvedName [Inherited From NamingException]
  Contains the part of the name that has been successfully resolved.
protected Object resolvedObj [Inherited From NamingException]
  Contains the object to which resolution of the part of the name was successful.
protected Throwable rootException [Inherited From NamingException]
  Contains the original exception that caused this NamingException to be thrown.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar