com.alachisoft.jvcache.runtime.exceptions
Class OperationFailedException

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.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

Field Summary
 boolean _isTracable
           
 
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.
OperationFailedException(java.lang.String s, boolean isTracable)
           
OperationFailedException(java.lang.String message, java.lang.Throwable cause)
           
OperationFailedException(java.lang.String message, java.lang.Throwable cause, boolean isTracable)
           
OperationFailedException(java.lang.Throwable cause)
           
 
Method Summary
 boolean getIsTracable()
           
 
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
 

Field Detail

_isTracable

public boolean _isTracable
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.

OperationFailedException

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

OperationFailedException

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

OperationFailedException

public OperationFailedException(java.lang.String s,
                                boolean isTracable)
Parameters:
s -
isTracable -

OperationFailedException

public OperationFailedException(java.lang.String message,
                                java.lang.Throwable cause,
                                boolean isTracable)
Parameters:
message -
cause -
isTracable -
Method Detail

getIsTracable

public boolean getIsTracable()
Returns: