com.alachisoft.jvcache.runtime.exceptions
Class StreamNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.alachisoft.jvcache.runtime.exceptions.CacheException
              extended by com.alachisoft.jvcache.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
StreamNotFoundException()
          Constructs an StreamNotFoundException with null as its error detail message.
StreamNotFoundException(java.lang.String s)
          Constructs an StreamNotFoundException 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

StreamNotFoundException

public StreamNotFoundException()
Constructs an StreamNotFoundException with null as its error detail message.


StreamNotFoundException

public StreamNotFoundException(java.lang.String s)
Constructs an StreamNotFoundException with the specified detail message. The error message string s can later be retrieved by the Throwable.getMessage() method of class java.lang.Throwable.

Parameters:
s - the detail message.