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.ClientException
This exception indicates that an operation tried to modify an object that is currently locked.- Author:
- jschwarz
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectLockedDetails
getErrorDetails()
-
Methods inherited from class com.lexmark.saperion.exceptions.EcmRuntimeException
createError, getDescriptionParameters, getErrorCode
-
-
-
-
Constructor Detail
-
ObjectLockedException
public ObjectLockedException(com.lexmark.saperion.exceptions.ErrorType error, java.lang.Throwable cause)
This is the constructor used for serialization.- Parameters:
error
- the error modelcause
- the cause of the exception
-
ObjectLockedException
public 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
-
ObjectLockedException
public 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 lockedlockUser
- the user who locked the objectlockDate
- the time when the object was locked
-
-
Method Detail
-
getErrorDetails
public ObjectLockedDetails getErrorDetails()
- Overrides:
getErrorDetails
in classcom.lexmark.saperion.exceptions.EcmRuntimeException
-
-