GemFire 5.7

com.gemstone.gemfire.cache
Class TimeoutException

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.OperationAbortedException
                          extended by com.gemstone.gemfire.cache.TimeoutException
All Implemented Interfaces:
Serializable

public class TimeoutException
extends OperationAbortedException

Thrown if a netSearch times out without getting a response back from a cache, or when attempting to acquire a distributed lock.

Since:
3.0
See Also:
LoaderHelper.netSearch(boolean), Region.invalidateRegion(), Region.destroyRegion(), Region.createSubregion(java.lang.String, com.gemstone.gemfire.cache.RegionAttributes), Region.get(Object), Region.put(Object, Object), Region.create(Object, Object), Region.invalidate(Object), Region.destroy(Object), DistributedLockService, Serialized Form

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

TimeoutException

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


TimeoutException

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

Parameters:
msg - the detail message

TimeoutException

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

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

TimeoutException

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

Parameters:
cause - the causal Throwable

GemFire 5.7

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