public class LockedException extends ResourceException
Copyright (c) 2001-2004 SAP AG
ex| Constructor and Description |
|---|
LockedException(LockInPlaceException newEx,
String userID,
RID indirectlyLockedBy,
String indirectLockToken)
This constructor is used by the framework to use this exception as a
wrapper for a new exception class of the repository manager API.
|
LockedException(String msg,
RID rid,
String userID) |
LockedException(String msg,
RID rid,
String userID,
RID indirectlyLockedBy,
String indirectLockToken) |
LockedException(String msg,
URI resourceID,
String userID)
Deprecated.
as of NW04.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getIndirectLockToken() |
RID |
getIndirectlyLockedRid() |
String |
getUserID() |
fillInStackTrace, getLocalizedMessage, getMessage, getNextResourceException, getResourceID, getRID, printStackTrace, printStackTrace, printStackTrace, setNextResourceException, toStringgetContainedException, isLogged, setContainedExceptionaddSuppressed, getCause, getStackTrace, getSuppressed, initCause, setStackTracepublic LockedException(String msg, URI resourceID, String userID)
public LockedException(String msg, RID rid, String userID)
msg - Messagerid - RID of resource with conflicting locksuserID - user who holds the conflicting lockpublic LockedException(String msg, RID rid, String userID, RID indirectlyLockedBy, String indirectLockToken)
msg - Messagerid - RID of resource with conflicting locksuserID - user who holds the conflicting lockindirectlyLockedBy - if the resource is indirectly locked by means of
a deep lock on a parent, the RID of the resource holding that lock should be specified here
(otherwise null)indirectLockToken - lock token identifying the indirect lock with which this request collided (otherwise null)public LockedException(LockInPlaceException newEx, String userID, RID indirectlyLockedBy, String indirectLockToken)
newEx - The new exception.public String getUserID()
null when unknown)public RID getIndirectlyLockedRid()
RID
of that parent resource (or null when unknown or not applicable)public String getIndirectLockToken()
null when unknown or not applicable)| Access Rights |
|---|
| 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 2017 SAP AG Complete Copyright Notice