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
LinkLoopException
public LinkLoopException(LinkLoopException newEx)
- This constructor is used by the framework to use this exception as a
wrapper for a new exception class of the repository manager API.
- Parameters:
newEx - The new exception.
getLinkTargetRID
public RID getLinkTargetRID()
- Returns the link target that caused the exception. Can be
null
.
- Returns:
- linkTargetRID
This class can be accessed from:
|
SC
|
DC
|
Public Part
|
ACH
|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2014 SAP AG Complete Copyright Notice