API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.naming. LinkException View Source
Author(s)
Rosanna Lee
Scott Seligman
Since
1.3
Version
1.8 03/12/19
Serial
Hierarchy
 Object
      Throwable
          Exception
              NamingException
                  LinkException
Implements
Subclasses
Description
public exception LinkException
  This exception is used to describe problems encounter while resolving links.
Constructors
public LinkException ()
  Constructs a new instance of LinkException.
public LinkException (String explanation)
  Constructs a new instance of LinkException with an explanation All the other fields are initialized to null.
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 Throwable getCause () [Inherited From NamingException]
  Returns the cause of this exception.
public String getExplanation () [Inherited From NamingException]
  Retrieves the explanation associated with this exception.
public String getLinkExplanation ()
  Retrieves the explanation associated with the problem encounter when resolving a link.
public Name getLinkRemainingName ()
  Retrieves the remaining unresolved portion of the link name.
public Name getLinkResolvedName ()
  Retrieves the leading portion of the link name that was resolved successfully.
public Object getLinkResolvedObj ()
  Retrieves the object to which resolution was successful.
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 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 setLinkExplanation (String msg)
  Sets the explanation associated with the problem encounter when resolving a link.
public void setLinkRemainingName (Name name)
  Sets the remaining link name field of this exception.
public void setLinkResolvedName (Name name)
  Sets the resolved link name field of this exception.
public void setLinkResolvedObj (Object obj)
  Sets the link resolved object field of this exception.
public void setRemainingName (Name name) [Inherited From NamingException]
  Sets the remaining 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 () [Overrides NamingException]
  Generates the string representation of this exception.
public String toString (boolean detail) [Overrides NamingException]
  Generates the string representation of this exception.
Fields
Hide/Show inherited fields
protected String linkExplanation
  Contains the exception of why resolution of the link failed.
protected Name linkRemainingName
  Contains the remaining link name that has not been resolved yet.
protected Name linkResolvedName
  Contains the part of the link that has been successfully resolved.
protected Object linkResolvedObj
  Contains the object to which resolution of the part of the link was successful.
protected Name remainingName [Inherited From NamingException]
  Contains the remaining name that has not been resolved yet.
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