|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.alachisoft.ncache.runtime.exceptions.CacheException
com.alachisoft.ncache.runtime.exceptions.StreamAlreadyLockedException
public class StreamAlreadyLockedException
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.
Constructor Summary | |
---|---|
StreamAlreadyLockedException()
Constructs an StreamAlreadyLockedException with null
as its error detail message. |
|
StreamAlreadyLockedException(java.lang.String s)
Constructs an StreamAlreadyLockedException with the specified detail
message. |
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StreamAlreadyLockedException()
StreamAlreadyLockedException
with null
as its error detail message.
public StreamAlreadyLockedException(java.lang.String s)
StreamAlreadyLockedException
with the specified detail
message. The error message string s
can later be
retrieved by the Throwable.getMessage()
method of class java.lang.Throwable
.
s
- the detail message.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |