Package org.apache.geode.cache
Class RegionAccessException
- All Implemented Interfaces:
Serializable
Deprecated.
the MembershipAttributes API is scheduled to be removed
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.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRegionAccessException(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
Modifier and TypeMethodDescriptionDeprecated.Returns the missing required roles that caused this exception.Methods inherited from class org.apache.geode.cache.RegionRoleException
getRegionFullPathMethods inherited from class org.apache.geode.cache.CacheRuntimeException
toStringMethods inherited from class org.apache.geode.GemFireException
getRootCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
RegionAccessException
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
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 Details
-
getMissingRoles
Deprecated.Returns the missing required roles that caused this exception.- Returns:
- the missing required roles that caused this exception
-