com.sapportals.wcm.repository

Class InvalidTargetException

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.InvalidTargetException
All Implemented Interfaces:
Serializable

public class InvalidTargetException
extends ResourceException

An invalid target was used for a copy or move operation.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sapportals.wcm.WcmException
ex
 
Constructor Summary
InvalidTargetException(InvalidTargetException newEx, RID invalidTarget)
          This constructor is used by the framework to use this exception as a wrapper for a new exception class of the repository manager API.
InvalidTargetException(RID invalidTarget)
          Constructs a new exception
InvalidTargetException(String msg, RID invalidTarget)
          Constructs a new exception
InvalidTargetException(String msg, URI invalidTarget)
          Deprecated. as of NW04.
InvalidTargetException(URI invalidTarget)
          Deprecated. as of NW04.
 
Method Summary
 URI getInvalidTarget()
          Deprecated. as of NW04.
 RID getInvalidTargetRID()
          Returns the invalid target 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

InvalidTargetException

public InvalidTargetException(URI invalidTarget)
Deprecated. as of NW04.

Parameters:
invalidTarget - TBD: Description of the incoming method parameter

InvalidTargetException

public InvalidTargetException(String msg,
                              URI invalidTarget)
Deprecated. as of NW04.

Parameters:
msg - TBD: Description of the incoming method parameter
invalidTarget - TBD: Description of the incoming method parameter

InvalidTargetException

public InvalidTargetException(RID invalidTarget)
Constructs a new exception

Parameters:
invalidTarget - TBD: Description of the incoming method parameter

InvalidTargetException

public InvalidTargetException(String msg,
                              RID invalidTarget)
Constructs a new exception

Parameters:
msg - The message text
invalidTarget - TBD: Description of the incoming method parameter

InvalidTargetException

public InvalidTargetException(InvalidTargetException newEx,
                              RID invalidTarget)
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.
Method Detail

getInvalidTarget

public URI getInvalidTarget()
Deprecated. as of NW04.

Returns:
invalidTarget

getInvalidTargetRID

public RID getInvalidTargetRID()
Returns the invalid target that caused the exception. Can be null .

Returns:
invalidTargetRID
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