@API(type=EXTENDABLE,
src=PUBLIC)
public class LockException
extends java.lang.Exception
Modifier and Type | Field and Description |
---|---|
protected static ro.sync.exml.MessageBundle |
messages
The messages resource bundle.
|
Constructor and Description |
---|
LockException(java.lang.String message,
boolean acquire,
java.lang.String detailedMessage)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCauseMessage() |
java.lang.String |
getDetailedMessage() |
java.lang.String |
getMessage() |
java.lang.String |
getOpenErrorMessage(boolean close) |
java.lang.String |
getOwnerName() |
void |
setOwnerName(java.lang.String ownerName)
Sets the name of the lock owner.
|
protected static final ro.sync.exml.MessageBundle messages
public LockException(java.lang.String message, boolean acquire, java.lang.String detailedMessage)
message
- The error message.acquire
- True if the exception occurred while trying to acquire the lock.detailedMessage
- The detailed exception message.public void setOwnerName(java.lang.String ownerName)
ownerName
- The name of the lock owner to set.public java.lang.String getOwnerName()
public java.lang.String getCauseMessage()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
Throwable.getMessage()
public java.lang.String getDetailedMessage()
public java.lang.String getOpenErrorMessage(boolean close)
close
- true
if must advise to close the editor. Otherwise will advise
to cancel the operation.© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.