GemFire 6.6.1

com.gemstone.gemfire
Class GemFireException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.gemstone.gemfire.GemFireException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CacheException, CacheRuntimeException, ConflictingPersistentDataException, CopyException, DuplicatePrimaryPartitionException, EntryNotFoundInRegion, FunctionException, GemFireCacheException, GemFireConfigException, GemFireIOException, GemFireSecurityException, IncompatibleSystemException, IndexInvalidException, InternalGemFireException, InvalidDeltaException, InvalidValueException, LeaseExpiredException, LicenseException, NoSystemException, PartitionNotAvailableException, PartitionOfflineException, PdxConfigurationException, PdxFieldAlreadyExistsException, PdxFieldDoesNotExistException, PdxFieldTypeMismatchException, PdxInitializationException, QueryInvalidException, RuntimeAdminException, ServerConnectivityException, SystemConnectException, SystemIsRunningException, UnmodifiableException

public abstract class GemFireException
extends RuntimeException

This is the abstract superclass of exceptions that are thrown to indicate incorrect usage of GemFire. Since these exceptions are unchecked, this class really ought to be called GemFireRuntimeException; however, the current name is retained for compatibility's sake.

See Also:
GemFireCheckedException, CacheRuntimeException, Serialized Form

Constructor Summary
GemFireException()
          Creates a new GemFireException with no detailed message.
GemFireException(String message)
          Creates a new GemFireException with the given detail message.
GemFireException(String message, Throwable cause)
          Creates a new GemFireException with the given detail message and cause.
GemFireException(Throwable cause)
          Creates a new GemFireException with the given cause and no detail message
 
Method Summary
 Throwable getRootCause()
          Returns the root cause of this GemFireException or null if the cause is nonexistent or unknown.
 
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

GemFireException

public GemFireException()
Creates a new GemFireException with no detailed message.


GemFireException

public GemFireException(String message)
Creates a new GemFireException with the given detail message.


GemFireException

public GemFireException(String message,
                        Throwable cause)
Creates a new GemFireException with the given detail message and cause.


GemFireException

public GemFireException(Throwable cause)
Creates a new GemFireException with the given cause and no detail message

Method Detail

getRootCause

public Throwable getRootCause()
Returns the root cause of this GemFireException or null if the cause is nonexistent or unknown.


GemFire 6.6.1

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