Class ObjectLockedException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- java.lang.RuntimeException
- 
- com.lexmark.saperion.exceptions.EcmRuntimeException
- 
- com.lexmark.saperion.exceptions.runtime.ClientException
- 
- com.lexmark.saperion.exceptions.runtime.ObjectLockedException
 
 
 
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public class ObjectLockedException extends com.lexmark.saperion.exceptions.runtime.ClientExceptionThis exception indicates that an operation tried to modify an object that is currently locked.- Author:
- jschwarz
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description ObjectLockedException(com.lexmark.saperion.exceptions.ErrorType error, java.lang.Throwable cause)This is the constructor used for serialization.ObjectLockedException(com.lexmark.saperion.ReferenceType reference)This constructor creates a new object locked exception that indicates that the object referenced by the given reference is locked.ObjectLockedException(com.lexmark.saperion.ReferenceType reference, com.lexmark.saperion.administration.UserListItemType lockUser, java.util.Date lockDate)This constructor creates a new object locked exception that indicates that the object referenced by the given reference is locked.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectLockedDetailsgetErrorDetails()- 
Methods inherited from class com.lexmark.saperion.exceptions.EcmRuntimeExceptioncreateError, getDescriptionParameters, getErrorCode
 
- 
 
- 
- 
- 
Constructor Detail- 
ObjectLockedExceptionpublic ObjectLockedException(com.lexmark.saperion.exceptions.ErrorType error, java.lang.Throwable cause)This is the constructor used for serialization.- Parameters:
- error- the error model
- cause- the cause of the exception
 
 - 
ObjectLockedExceptionpublic ObjectLockedException(com.lexmark.saperion.ReferenceType reference) This constructor creates a new object locked exception that indicates that the object referenced by the given reference is locked.- Parameters:
- reference- a reference to the object locked
 
 - 
ObjectLockedExceptionpublic ObjectLockedException(com.lexmark.saperion.ReferenceType reference, com.lexmark.saperion.administration.UserListItemType lockUser, java.util.Date lockDate)This constructor creates a new object locked exception that indicates that the object referenced by the given reference is locked.- Parameters:
- reference- a reference to the object locked
- lockUser- the user who locked the object
- lockDate- the time when the object was locked
 
 
- 
 - 
Method Detail- 
getErrorDetailspublic ObjectLockedDetails getErrorDetails() - Overrides:
- getErrorDetailsin class- com.lexmark.saperion.exceptions.EcmRuntimeException
 
 
- 
 
-