com.spss.psapi.core

Class ObjectLockedException

  • All Implemented Interfaces:
    java.io.Serializable


    public class ObjectLockedException
    extends PredictiveServerException
    An exception thrown when an attempt is made to lock or modify an object that is already locked. Locking an object prevents an updates to that object while the lock is in effect. A ProcessorStream and all its Processors are locked by the Session during execution.

    No message string is set for this exception.

    Since:
    PSAPI 1.0
    Version:
    1.0
    Author:
    Julian Clinton
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      ObjectLockedException(java.lang.Object lockedObject)
      Deprecated.  
      ObjectLockedException(java.lang.String message, java.lang.Object lockedObject)
      Creates an ObjectLockedException.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.Object getObject()
      Returns the object.
      • 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(java.lang.String message,
                             java.lang.Object lockedObject)
        Creates an ObjectLockedException.
        Parameters:
        message - the message
        lockedObject - the locked object
        Since:
        PSAPI 16.0
      • ObjectLockedException

        public ObjectLockedException(java.lang.Object lockedObject)
        Deprecated. 
        Creates an ObjectLockedException.
        Parameters:
        lockedObject - the locked object
    • Method Detail

      • getObject

        public java.lang.Object getObject()
        Returns the object.
        Returns:
        the object

Copyright © 2014 Integral Solutions Ltd. All Rights Reserved.