GemFire 5.7

com.gemstone.gemfire.cache
Class StatisticsDisabledException

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

public class StatisticsDisabledException
extends CacheRuntimeException

Thrown if statistics are requested when statistics are disabled on the region.

Since:
3.0
See Also:
AttributesFactory.setStatisticsEnabled(boolean), RegionAttributes.getStatisticsEnabled(), Region.getStatistics(), Region.Entry.getStatistics(), Serialized Form

Constructor Summary
StatisticsDisabledException()
          Creates a new instance of StatisticsDisabledException without detail message.
StatisticsDisabledException(String msg)
          Constructs an instance of StatisticsDisabledException with the specified detail message.
StatisticsDisabledException(String msg, Throwable cause)
          Constructs an instance of StatisticsDisabledException with the specified detail message and cause.
StatisticsDisabledException(Throwable cause)
          Constructs an instance of StatisticsDisabledException 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

StatisticsDisabledException

public StatisticsDisabledException()
Creates a new instance of StatisticsDisabledException without detail message.


StatisticsDisabledException

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

Parameters:
msg - the detail message

StatisticsDisabledException

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

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

StatisticsDisabledException

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

Parameters:
cause - the causal Throwable

GemFire 5.7

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