javax.naming
Class LinkException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.naming.NamingException
              extended by javax.naming.LinkException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
LinkLoopException, MalformedLinkException

public class LinkException
extends NamingException

See Also:
Serialized Form

Field Summary
protected  String linkExplanation
           
protected  Name linkRemainingName
           
protected  Name linkResolvedName
           
protected  Object linkResolvedObj
           
 
Fields inherited from class javax.naming.NamingException
remainingName, resolvedName, resolvedObj, rootException
 
Constructor Summary
LinkException()
           
LinkException(String msg)
           
 
Method Summary
 String getLinkExplanation()
           
 Name getLinkRemainingName()
           
 Name getLinkResolvedName()
           
 Object getLinkResolvedObj()
           
 void setLinkExplanation(String msg)
           
 void setLinkRemainingName(Name name)
           
 void setLinkResolvedName(Name name)
           
 void setLinkResolvedObj(Object obj)
           
 String toString()
          Returns a string representation of this exception.
 String toString(boolean detail)
          Returns a String representation of this exception and possibly including the part object that could be resolved if the given flag is set to true.
 
Methods inherited from class javax.naming.NamingException
appendRemainingComponent, appendRemainingName, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, printStackTrace, printStackTrace, printStackTrace, setRemainingName, setResolvedName, setResolvedObj, setRootCause
 
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
 

Field Detail

linkResolvedName

protected Name linkResolvedName

linkResolvedObj

protected Object linkResolvedObj

linkRemainingName

protected Name linkRemainingName

linkExplanation

protected String linkExplanation
Constructor Detail

LinkException

public LinkException()

LinkException

public LinkException(String msg)
Method Detail

getLinkResolvedName

public Name getLinkResolvedName()

getLinkRemainingName

public Name getLinkRemainingName()

getLinkResolvedObj

public Object getLinkResolvedObj()

getLinkExplanation

public String getLinkExplanation()

setLinkExplanation

public void setLinkExplanation(String msg)

setLinkResolvedName

public void setLinkResolvedName(Name name)

setLinkRemainingName

public void setLinkRemainingName(Name name)

setLinkResolvedObj

public void setLinkResolvedObj(Object obj)

toString

public String toString()
Description copied from class: NamingException
Returns a string representation of this exception. Calls toString(false).

Overrides:
toString in class NamingException
Returns:
a human-readable String represting this Throwable
See Also:
Object.getClass(), Object.hashCode(), Class.getName(), Integer.toHexString(int)

toString

public String toString(boolean detail)
Description copied from class: NamingException
Returns a String representation of this exception and possibly including the part object that could be resolved if the given flag is set to true. Always includes the root cause and the remaining name if not null.

Overrides:
toString in class NamingException