GemFire 5.5

com.gemstone.gemfire.cache
Class PartitionedRegionStorageException

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

public class PartitionedRegionStorageException
extends CacheRuntimeException

Description of the conditions under which this exception is thrown

When a PartitionedRegionStorageException message contains the string:

 There are not enough data store members to create a bucket.
 
A new data store must be added to the partitioned region for future bucket creation.

When a PartitionedRegionStorageException message contains the string:

 Too many data store members have refused the request to create a bucket.
 
There are enough data stores, however some have refused possibly due to these conditions:
  1. The amount of storage allocated to the partitioned region on that distributed member exceeds its localMaxMemory setting.
  2. The partitioned region instance on that distributed member has been closed or destroyed.
  3. The cache on that distributed member has been closed.
  4. The distributed system on that member has been disconnected.

When a PartitionedRegionStorageException message contains the string:

 Creation of a bucket for partitioned region failed in N attempts.
 
If the number of attempts is lesser than the number of available data store members, contact GemFire support providing all logs and statistics files from all members containing the partitioned region. Otherwise, shutdown and then restart one or more of the data stores, given that it is safe to do so, for example when redundantCopies is greater than 0.

Since:
5.0
See Also:
PartitionAttributesFactory, Serialized Form

Constructor Summary
PartitionedRegionStorageException()
          Creates a new instance of PartitionedRegionStorageException
PartitionedRegionStorageException(String msg)
          Creates a new PartitionedRegionStorageException with a message.
PartitionedRegionStorageException(String message, Throwable cause)
          Creates a new PartitionedRegionStorageException with a message and Throwable 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

PartitionedRegionStorageException

public PartitionedRegionStorageException()
Creates a new instance of PartitionedRegionStorageException


PartitionedRegionStorageException

public PartitionedRegionStorageException(String msg)
Creates a new PartitionedRegionStorageException with a message.

Parameters:
msg - The string message for the PartitionedRegionStorageException.

PartitionedRegionStorageException

public PartitionedRegionStorageException(String message,
                                         Throwable cause)
Creates a new PartitionedRegionStorageException with a message and Throwable cause.

Parameters:
message - The string message for the PartitionedRegionStorageException.
cause - Throwable cause for this PartitionedRegionStorageException.

GemFire 5.5

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