Gemfire JavaDocs
Package org.apache.geode.cache
Class RegionAccessException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.geode.GemFireException
-
- org.apache.geode.cache.CacheRuntimeException
-
- org.apache.geode.cache.RoleException
-
- org.apache.geode.cache.RegionRoleException
-
- org.apache.geode.cache.RegionAccessException
-
- All Implemented Interfaces:
java.io.Serializable
@Deprecated public class RegionAccessException extends RegionRoleException
Deprecated.the MembershipAttributes API is scheduled to be removedIndicates that an attempt to access the region has failed. Failure is due to one or more missingrequired roles
. Region operations may throw this exception when theMembershipAttributes
have been configured withLossAction.NO_ACCESS
orLossAction.LIMITED_ACCESS
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RegionAccessException(java.lang.String s, java.lang.String regionFullPath, java.util.Set missingRoles)
Deprecated.Constructs aRegionAccessException
with a message.RegionAccessException(java.lang.String s, java.lang.String regionFullPath, java.util.Set missingRoles, java.lang.Throwable ex)
Deprecated.Constructs aRegionAccessException
with a message and a cause.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.Set
getMissingRoles()
Deprecated.Returns the missing required roles that caused this exception.-
Methods inherited from class org.apache.geode.cache.RegionRoleException
getRegionFullPath
-
Methods inherited from class org.apache.geode.cache.CacheRuntimeException
toString
-
Methods inherited from class org.apache.geode.GemFireException
getRootCause
-
-
-
-
Constructor Detail
-
RegionAccessException
public RegionAccessException(java.lang.String s, java.lang.String regionFullPath, java.util.Set missingRoles)
Deprecated.Constructs aRegionAccessException
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(java.lang.String s, java.lang.String regionFullPath, java.util.Set missingRoles, java.lang.Throwable ex)
Deprecated.Constructs aRegionAccessException
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
-
-