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:
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:
  • Constructor Details

    • ObjectLockedException

      public ObjectLockedException(com.lexmark.saperion.exceptions.ErrorType error, Throwable cause)
      This is the constructor used for serialization.
      Parameters:
      error - the error model
      cause - 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, 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 Details

    • getErrorDetails

      public ObjectLockedDetails getErrorDetails()
      Overrides:
      getErrorDetails in class com.lexmark.saperion.exceptions.EcmRuntimeException