API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.naming. MalformedLinkException View Source
Author(s)
Rosanna Lee
Scott Seligman
Since
1.3
Version
1.8 05/11/17
Serial
Hierarchy
 Object
      Throwable
          Exception
              NamingException
                  LinkException
                      MalformedLinkException
Implements
Subclasses
Description
public exception MalformedLinkException
  This exception is thrown when a malformed link was encountered while resolving or constructing a link.
Constructors
public MalformedLinkException ()
  Constructs a new instance of Malformed LinkException.
public MalformedLinkException (String explanation)
  Constructs a new instance of MalformedLinkException 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 () [Inherited From LinkException]
  Retrieves the explanation associated with the problem encounter when resolving a link.
public Name getLinkRemainingName () [Inherited From LinkException]
  Retrieves the remaining unresolved portion of the link name.
public Name getLinkResolvedName () [Inherited From LinkException]
  Retrieves the leading portion of the link name that was resolved successfully.
public Object getLinkResolvedObj () [Inherited From LinkException]
  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) [Inherited From LinkException]
  Sets the explanation associated with the problem encounter when resolving a link.
public void setLinkRemainingName (Name name) [Inherited From LinkException]
  Sets the remaining link name field of this exception.
public void setLinkResolvedName (Name name) [Inherited From LinkException]
  Sets the resolved link name field of this exception.
public void setLinkResolvedObj (Object obj) [Inherited From LinkException]
  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 () [Inherited From LinkException]
  Generates the string representation of this exception.
public String toString (boolean detail) [Inherited From LinkException]
  Generates the string representation of this exception.
Fields
Hide/Show inherited fields
protected String linkExplanation [Inherited From LinkException]
  Contains the exception of why resolution of the link failed.
protected Name linkRemainingName [Inherited From LinkException]
  Contains the remaining link name that has not been resolved yet.
protected Name linkResolvedName [Inherited From LinkException]
  Contains the part of the link that has been successfully resolved.
protected Object linkResolvedObj [Inherited From LinkException]
  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