- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- javax.naming.NamingException
-
- javax.naming.LinkException
-
- javax.naming.MalformedLinkException
-
- All Implemented Interfaces:
-
Serializable
public class MalformedLinkException extends LinkException
当解决或构建链接时遇到格式错误的链接时抛出此异常。适用于LinkException的同步和序列化问题直接在此应用。
- 从以下版本开始:
- 1.3
- 另请参见:
-
LinkRef.getLinkName()
,LinkRef
, Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.naming.LinkException
linkExplanation, linkRemainingName, linkResolvedName, linkResolvedObj
-
Fields inherited from class javax.naming.NamingException
remainingName, resolvedName, resolvedObj, rootException
-
-
构造方法摘要
构造方法 Constructor 描述 MalformedLinkException()
构造一个新的Malformed LinkException实例。MalformedLinkException(String explanation)
构造一个新的MalformedLinkException实例,并给出解释。
-
方法摘要
-
Methods inherited from class javax.naming.LinkException
getLinkExplanation, getLinkRemainingName, getLinkResolvedName, getLinkResolvedObj, setLinkExplanation, setLinkRemainingName, setLinkResolvedName, setLinkResolvedObj, toString, toString
-
Methods inherited from class javax.naming.NamingException
appendRemainingComponent, appendRemainingName, getCause, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
构造方法详细信息
-
MalformedLinkException
public MalformedLinkException(String explanation)
构造一个新的MalformedLinkException实例,并给出解释。 所有其他字段都初始化为null。- 参数
-
explanation
- 可能为空字符串,其中包含有关此异常的其他详细信息。
-
MalformedLinkException
public MalformedLinkException()
构造一个新的Malformed LinkException实例。 所有字段都初始化为null。
-
-