Class StreamNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.alachisoft.ncache.runtime.exceptions.CacheException
-
- com.alachisoft.ncache.runtime.exceptions.StreamNotFoundException
-
- All Implemented Interfaces:
java.io.Serializable
public class StreamNotFoundException extends CacheException
StreamNotFoundException is thrown if a CacheStream is not found in the cache. Possible reason for this exception can be either it was not created or it is removed from the cache.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StreamNotFoundException()
Constructs anStreamNotFoundException
withnull
as its error detail message.StreamNotFoundException(int errorCode, java.lang.String reason, java.lang.String stackTrace)
StreamNotFoundException(java.lang.String s)
Constructs anStreamNotFoundException
with the specified detail message.
-
Method Summary
-
Methods inherited from class com.alachisoft.ncache.runtime.exceptions.CacheException
getErrorCode, printStackTrace, setErrorCode
-
-
-
-
Constructor Detail
-
StreamNotFoundException
public StreamNotFoundException()
Constructs anStreamNotFoundException
withnull
as its error detail message.
-
StreamNotFoundException
public StreamNotFoundException(java.lang.String s)
Constructs anStreamNotFoundException
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.
-
StreamNotFoundException
public StreamNotFoundException(int errorCode, java.lang.String reason, java.lang.String stackTrace)
-
-