VMware GemFire Java API Reference
Package org.apache.geode.cache
Class RegionAccessException
-
- All Implemented Interfaces:
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 theMembershipAttributeshave been configured withLossAction.NO_ACCESSorLossAction.LIMITED_ACCESS.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RegionAccessException(String s, String regionFullPath, Set missingRoles)Deprecated.Constructs aRegionAccessExceptionwith a message.RegionAccessException(String s, String regionFullPath, Set missingRoles, Throwable ex)Deprecated.Constructs aRegionAccessExceptionwith a message and a cause.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description SetgetMissingRoles()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
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
RegionAccessException
public RegionAccessException(String s, String regionFullPath, Set missingRoles)
Deprecated.Constructs aRegionAccessExceptionwith 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)
Deprecated.Constructs aRegionAccessExceptionwith 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
-
-
Method Detail
-
getMissingRoles
public Set getMissingRoles()
Deprecated.Returns the missing required roles that caused this exception.- Returns:
- the missing required roles that caused this exception
-
-