com.sapportals.wcm.repository
Class LinkLoopException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sapportals.wcm.WcmException
com.sapportals.wcm.util.content.ContentException
com.sapportals.wcm.repository.ResourceException
com.sapportals.wcm.repository.LinkLoopException
- All Implemented Interfaces:
- Serializable
- public class LinkLoopException
- extends ResourceException
The target RID specified when creating or updating am internal link is also a
link and would cause an loop. That means it would not be possible to resolve
the target resource because two or more links would be pointing at each
other.
- See Also:
- Serialized Form
| Methods inherited from class com.sapportals.wcm.repository.ResourceException |
fillInStackTrace, getLocalizedMessage, getMessage, getNextResourceException, getResourceID, getRID, printStackTrace, printStackTrace, printStackTrace, setNextResourceException, toString |
LinkLoopException
public LinkLoopException(RID invalidLinkTarget)
- Constructs a new exception
- Parameters:
invalidLinkTarget - The invalid target resource ID
LinkLoopException
public LinkLoopException(String msg,
RID invalidLinkTarget)
- Constructs a new exception
- Parameters:
msg - The message textinvalidLinkTarget - The invalid target resource ID
LinkLoopException
public LinkLoopException(String msg,
RID rid,
RID invalidLinkTarget)
- Constructs a new exception
- Parameters:
msg - The message textrid - RID of affected recourceinvalidLinkTarget - The invalid target resource ID
getLinkTargetRID
public RID getLinkTargetRID()
- Returns the link target that caused the exception. Can be
null
.
- Returns:
- linkTargetRID
Copyright 2006 SAP AG Complete Copyright Notice