com.alachisoft.jvcache.runtime.exceptions
Class CacheException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.alachisoft.jvcache.runtime.exceptions.CacheException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AggregateException, ArgumentException, ConfigurationException, ConnectionException, GeneralFailureException, NotSupportedException, OperationFailedException, SecurityException, StreamAlreadyLockedException, StreamException, StreamNotFoundException

public class CacheException
extends java.lang.Exception

It is the base class for all the exceptions that are thrown from NCache. So you can catch this exception for all the exceptions thrown from within the NCache.

See Also:
Serialized Form

Constructor Summary
CacheException()
          Constructs an CacheException with null as its error detail message.
CacheException(java.lang.String s)
          Constructs an CacheException with the specified detail message.
CacheException(java.lang.String message, java.lang.Throwable cause)
           
CacheException(java.lang.Throwable cause)
           
 
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

CacheException

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


CacheException

public CacheException(java.lang.String s)
Constructs an CacheException 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.

CacheException

public CacheException(java.lang.Throwable cause)
Parameters:
cause -

CacheException

public CacheException(java.lang.String message,
                      java.lang.Throwable cause)
Parameters:
message -
cause -