Class 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
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.lexmark.saperion.exceptions.runtime.ClientException

        com.lexmark.saperion.exceptions.runtime.ClientException.ClientError
    • Field Summary

      • Fields inherited from class com.lexmark.saperion.exceptions.runtime.ClientException

        CLIENT_GENERAL_ERROR
    • 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
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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 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,
                                     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

      • getErrorDetails

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