com.alachisoft.ncache.runtime.exceptions
Class OperationFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.alachisoft.ncache.runtime.exceptions.CacheException
              extended by com.alachisoft.ncache.runtime.exceptions.OperationFailedException
All Implemented Interfaces:
java.io.Serializable

public class OperationFailedException
extends CacheException

Thrown whenever an API fails. In case of bulk operation, you even recieve information about existing keys or unavailable space wrapped within this exception.

See Also:
Serialized Form

Constructor Summary
OperationFailedException()
          Constructs an OperationFailedException with null as its error detail message.
OperationFailedException(java.lang.String s)
          Constructs an OperationFailedException 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

OperationFailedException

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


OperationFailedException

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