com.gemstone.gemfire.cache
Class RegionAccessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.gemstone.gemfire.GemFireException
com.gemstone.gemfire.cache.CacheRuntimeException
com.gemstone.gemfire.cache.RoleException
com.gemstone.gemfire.cache.RegionRoleException
com.gemstone.gemfire.cache.RegionAccessException
- All Implemented Interfaces:
- Serializable
public class RegionAccessException
- extends RegionRoleException
Indicates that an attempt to access the region has failed. Failure is
due to one or more missing required roles. Region operations may throw this exception when the
MembershipAttributes have been configured with LossAction.NO_ACCESS or LossAction.LIMITED_ACCESS.
- Since:
- 5.0
- See Also:
- Serialized Form
|
Method Summary |
Set |
getMissingRoles()
Returns the missing required roles that caused this exception. |
RegionAccessException
public RegionAccessException(String s,
String regionFullPath,
Set missingRoles)
- Constructs a
RegionAccessException with a message.
- Parameters:
s - the String messageregionFullPath - full path of region for which access was attemptedmissingRoles - the missing required roles that caused this exception
RegionAccessException
public RegionAccessException(String s,
String regionFullPath,
Set missingRoles,
Throwable ex)
- Constructs a
RegionAccessException with a message and
a cause.
- Parameters:
s - the String messageregionFullPath - full path of region for which access was attemptedmissingRoles - the missing required roles that caused this exceptionex - the Throwable cause
getMissingRoles
public Set getMissingRoles()
- Returns the missing required roles that caused this exception.
- Returns:
- the missing required roles that caused this exception
Copyright © 2002-2008 GemStone Systems, Inc. All Rights Reserved.