GemFire 7.0.1

Class GemFireCacheException

  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.GemFireCacheException
All Implemented Interfaces:

public class GemFireCacheException
extends GemFireException

An GemFireCacheException is used to wrap a CacheException. This is needed in contexts that can not throw the cache exception directly because of it being a typed exception.

See Also:
Serialized Form

Constructor Summary
GemFireCacheException(CacheException ex)
          Creates a new GemFireCacheException.
GemFireCacheException(String message, CacheException ex)
          Creates a new GemFireCacheException.
Method Summary
 CacheException getCacheException()
          Gets the wrapped CacheException
Methods inherited from class com.gemstone.gemfire.GemFireException
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


public GemFireCacheException(String message,
                             CacheException ex)
Creates a new GemFireCacheException.


public GemFireCacheException(CacheException ex)
Creates a new GemFireCacheException.

Method Detail


public CacheException getCacheException()
Gets the wrapped CacheException

GemFire 7.0.1

Copyright © 1997-2013 VMware, Inc. All rights reserved.