public class ResourceLockedException extends ResourceException
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright.
|
| Constructor and Description |
|---|
ResourceLockedException(ActivityToken activityToken,
ManagedResourceKey managedResourceKey)
Creates the resource locked exception.
|
ResourceLockedException(ContentContext contentContext,
ManagedResourceKey managedResourceKey)
Creates the resource locked exception.
|
ResourceLockedException(ManagedResourceKey managedResourceKey)
Creates the resource locked exception.
|
ResourceLockedException(java.lang.String msg,
ContentContext contentContext,
ManagedResourceKey managedResourceKey)
Creates the resource locked exception.
|
| Modifier and Type | Method and Description |
|---|---|
ActivityToken |
getActivityToken()
Returns the content context of the exception.
|
ManagedResourceKey |
getManagedResourceKey()
Returns the business object that is locked.
|
public static final java.lang.String COPYRIGHT
public ResourceLockedException(java.lang.String msg,
ContentContext contentContext,
ManagedResourceKey managedResourceKey)
msg - The exception message.contentContext - The content context.managedResourceKey - The managed resource key of the resource that is locked.public ResourceLockedException(ManagedResourceKey managedResourceKey)
managedResourceKey - The managed resource key of the resource that is locked.public ResourceLockedException(ActivityToken activityToken, ManagedResourceKey managedResourceKey)
activityToken - The current activity token.managedResourceKey - The managed resource key of the resource that is locked.public ResourceLockedException(ContentContext contentContext, ManagedResourceKey managedResourceKey)
contentContext - The current content context.managedResourceKey - The managed resource key of the resource that is locked.public ManagedResourceKey getManagedResourceKey()
public ActivityToken getActivityToken()