Class LockException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.teracloud.streams.dl.LockException
All Implemented Interfaces:
Serializable

public class LockException extends Exception
Any errors during distribute lock (dl) operation will result in this exception getting thrown. Users of the dps facility can then catch the exception and obtain the error code and error message.
See Also:
  • Constructor Details

    • LockException

      public LockException(long errorCode)
    • LockException

      public LockException(String errorMessage)
    • LockException

      public LockException(long errorCode, String errorMessage)
  • Method Details

    • getErrorCode

      public long getErrorCode()
    • getErrorMessage

      public String getErrorMessage()