regionQueue
Class RegionQueueException

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

public class RegionQueueException
extends CacheRuntimeException

A runtime exception thrown by a RegionQueue when an unexpected cache error is encountered. Because RegionQueue implements the BlockingQueue interface, it cannot add throws CacheException to its method declarations. So, the BlockQueue's implementation has to catch any CacheException thrown by region operations and wrap it in a RegionQueueException.

Since:
4.0
Author:
GemStone Systems, Inc.
See Also:
Serialized Form

Constructor Summary
RegionQueueException(String message)
          Creates a new RegionQueueException
RegionQueueException(String message, Throwable cause)
          Creates a new RegionQueueException with the given 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RegionQueueException

public RegionQueueException(String message)
Creates a new RegionQueueException


RegionQueueException

public RegionQueueException(String message,
                            Throwable cause)
Creates a new RegionQueueException with the given cause.



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