Class StreamAlreadyLockedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.alachisoft.ncache.runtime.exceptions.CacheException
-
- com.alachisoft.ncache.runtime.exceptions.StreamAlreadyLockedException
-
- All Implemented Interfaces:
java.io.Serializable
public class StreamAlreadyLockedException extends CacheException
StreamAlreadLockedException is thrown if stream is already locked. CacheStream opened for reading or writing mode acquires read or writer lock. If stream is already opened with reader/writer lock then this exception is thrown.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StreamAlreadyLockedException()
Constructs anStreamAlreadyLockedException
withnull
as its error detail message.StreamAlreadyLockedException(int expCode, java.lang.String expMessage, java.lang.String stackTrace)
StreamAlreadyLockedException(java.lang.String s)
Constructs anStreamAlreadyLockedException
with the specified detail message.
-
Method Summary
-
Methods inherited from class com.alachisoft.ncache.runtime.exceptions.CacheException
getErrorCode, printStackTrace, setErrorCode
-
-
-
-
Constructor Detail
-
StreamAlreadyLockedException
public StreamAlreadyLockedException()
Constructs anStreamAlreadyLockedException
withnull
as its error detail message.
-
StreamAlreadyLockedException
public StreamAlreadyLockedException(java.lang.String s)
Constructs anStreamAlreadyLockedException
with the specified detail message. The error message strings
can later be retrieved by the
method of classThrowable.getMessage()
java.lang.Throwable
.- Parameters:
s
- the detail message.
-
StreamAlreadyLockedException
public StreamAlreadyLockedException(int expCode, java.lang.String expMessage, java.lang.String stackTrace)
-
-