com.sapportals.wcm.repository

Class CheckedOutException

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

public class CheckedOutException
extends ResourceException

The resource is checked out by another user.

Copyright SAP AG 2001-2004

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sapportals.wcm.WcmException
ex
 
Constructor Summary
CheckedOutException(CheckedOutException 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.
CheckedOutException(RID resourceID, String userID)
          Constructs a new exception
CheckedOutException(String msg, RID resourceID, String userID)
          Constructs a new exception
CheckedOutException(String msg, URI resourceID, String userID)
          Deprecated. as of NW04.
CheckedOutException(URI resourceID, String userID)
          Deprecated. as of NW04.
 
Method Summary
 String getUserID()
          Returns the ID of the user that has checked out the resource.
 
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

CheckedOutException

public CheckedOutException(URI resourceID,
                           String userID)
Deprecated. as of NW04.


CheckedOutException

public CheckedOutException(String msg,
                           URI resourceID,
                           String userID)
Deprecated. as of NW04.


CheckedOutException

public CheckedOutException(RID resourceID,
                           String userID)
Constructs a new exception

Parameters:
resourceID - The ID of the resource this exception belongs to (optional)
userID - The ID of the user that has checked out the resource (optional)

CheckedOutException

public CheckedOutException(String msg,
                           RID resourceID,
                           String userID)
Constructs a new exception

Parameters:
msg - The exception message text
resourceID - The ID of the resource this exception belongs to (optional)
userID - The ID of the user that has checked out the resource (optional)

CheckedOutException

public CheckedOutException(CheckedOutException 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.
Method Detail

getUserID

public String getUserID()
Returns the ID of the user that has checked out the resource. Can be null.

Returns:
the ID of the user that has checked out the resource. Can be null.
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