Package com.teracloud.streams.dl
Class LockException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.teracloud.streams.dl.LockException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionLockException
(long errorCode) LockException
(long errorCode, String errorMessage) LockException
(String errorMessage) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LockException
public LockException(long errorCode) -
LockException
-
LockException
-
-
Method Details
-
getErrorCode
public long getErrorCode() -
getErrorMessage
-