com.sapportals.wcm.repository

Class ResourceIsLinkException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sapportals.wcm.WcmException
              extended by com.sapportals.wcm.util.content.ContentException
                  extended by com.sapportals.wcm.repository.ResourceException
                      extended by com.sapportals.wcm.repository.ResourceIsLinkException
All Implemented Interfaces:
Serializable

public class ResourceIsLinkException
extends ResourceException

This exception is thrown during copy or move operations if the CopyParameter has copyInternalLink or copyExternalLink set to true and links are encountered during a deep copy operation.

Copyright (c) SAP AG 2001-2004

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sapportals.wcm.WcmException
ex
 
Constructor Summary
ResourceIsLinkException(RID resourceID, LinkType linkType)
          Constructs a new ResourceIsLinkException
ResourceIsLinkException(RID resourceID, LinkType linkType, String targetURL)
          Constructs a new ResourceIsLinkException
ResourceIsLinkException(URI resourceID, LinkType linkType)
          Deprecated. as of NW04.
ResourceIsLinkException(URI resourceID, LinkType linkType, String targetURL)
          Deprecated. as of NW04.
 
Method Summary
 LinkType getLinkType()
          Returns the type of the link that caused the exception
 String getTargetURL()
          Returns the target URL of the link that caused the exception
 
Methods inherited from class com.sapportals.wcm.repository.ResourceException
fillInStackTrace, getLocalizedMessage, getMessage, getNextResourceException, getResourceID, getRID, printStackTrace, printStackTrace, printStackTrace, setNextResourceException, toString
 
Methods inherited from class com.sapportals.wcm.WcmException
getContainedException, isLogged, setContainedException
 
Methods inherited from class java.lang.Throwable
getCause, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceIsLinkException

public ResourceIsLinkException(URI resourceID,
                               LinkType linkType)
Deprecated. as of NW04.

Parameters:
resourceID - TBD: Description of the incoming method parameter
linkType - TBD: Description of the incoming method parameter

ResourceIsLinkException

public ResourceIsLinkException(URI resourceID,
                               LinkType linkType,
                               String targetURL)
Deprecated. as of NW04.

Parameters:
resourceID - TBD: Description of the incoming method parameter
linkType - TBD: Description of the incoming method parameter
targetURL - TBD: Description of the incoming method parameter

ResourceIsLinkException

public ResourceIsLinkException(RID resourceID,
                               LinkType linkType)
Constructs a new ResourceIsLinkException

Parameters:
resourceID - The RID of the resource that caused the exception
linkType - The type of link that caused the exception

ResourceIsLinkException

public ResourceIsLinkException(RID resourceID,
                               LinkType linkType,
                               String targetURL)
Constructs a new ResourceIsLinkException

Parameters:
resourceID - The RID of the resource that caused the exception
linkType - The type of link that caused the exception
targetURL - The target URL of the link the caused the exception
Method Detail

getLinkType

public LinkType getLinkType()
Returns the type of the link that caused the exception

Returns:
the type of the link that caused the exception

getTargetURL

public String getTargetURL()
Returns the target URL of the link that caused the exception

Returns:
the target URL of the link that caused the exception
Access Rights

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