GemFire 6.5.1

com.gemstone.gemfire
Class GemFireCacheException

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

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

GemFireCacheException

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


GemFireCacheException

public GemFireCacheException(CacheException ex)
Creates a new GemFireCacheException.

Method Detail

getCacheException

public CacheException getCacheException()
Gets the wrapped CacheException


GemFire 6.5.1

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