GemFire 5.8

com.gemstone.gemfire.cache
Class CacheWriterException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.gemstone.gemfire.GemFireException
                  extended by com.gemstone.gemfire.cache.CacheRuntimeException
                      extended by com.gemstone.gemfire.cache.OperationAbortedException
                          extended by com.gemstone.gemfire.cache.CacheWriterException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BridgeWriterException

public class CacheWriterException
extends OperationAbortedException

An exception thrown by a CacheWriter method. This exception is propagated back to the caller that initiated modification of the cache, even if the caller is not in the same cache VM.

Since:
3.0
See Also:
CacheWriter, Region.put(Object, Object), Region.destroy(Object), Region.create(Object, Object), Region.destroyRegion(), Region.get(Object), Serialized Form

Constructor Summary
CacheWriterException()
          Creates a new instance of CacheWriterException.
CacheWriterException(String msg)
          Constructs an instance of CacheWriterException with the specified detail message.
CacheWriterException(String msg, Throwable cause)
          Constructs an instance of CacheWriterException with the specified detail message and cause.
CacheWriterException(Throwable cause)
          Constructs an instance of CacheWriterException with the specified cause.
 
Method Summary
 
Methods inherited from class com.gemstone.gemfire.cache.CacheRuntimeException
toString
 
Methods inherited from class com.gemstone.gemfire.GemFireException
getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheWriterException

public CacheWriterException()
Creates a new instance of CacheWriterException.


CacheWriterException

public CacheWriterException(String msg)
Constructs an instance of CacheWriterException with the specified detail message.

Parameters:
msg - the detail message

CacheWriterException

public CacheWriterException(String msg,
                            Throwable cause)
Constructs an instance of CacheWriterException with the specified detail message and cause.

Parameters:
msg - the detail message
cause - the causal Throwable

CacheWriterException

public CacheWriterException(Throwable cause)
Constructs an instance of CacheWriterException with the specified cause.

Parameters:
cause - the causal Throwable

GemFire 5.8

Copyright © 2002-2008 GemStone Systems, Inc. All Rights Reserved.