public class RegionAccessException extends RegionRoleException
required roles. Region operations may throw this exception when the
MembershipAttributes have been configured with LossAction.NO_ACCESS or LossAction.LIMITED_ACCESS.| Constructor and Description |
|---|
RegionAccessException(java.lang.String s,
java.lang.String regionFullPath,
java.util.Set missingRoles)
Deprecated.
Constructs a
RegionAccessException with a message. |
RegionAccessException(java.lang.String s,
java.lang.String regionFullPath,
java.util.Set missingRoles,
java.lang.Throwable ex)
Deprecated.
Constructs a
RegionAccessException with a message and
a cause. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set |
getMissingRoles()
Deprecated.
Returns the missing required roles that caused this exception.
|
getRegionFullPathtoStringgetRootCausepublic RegionAccessException(java.lang.String s,
java.lang.String regionFullPath,
java.util.Set missingRoles)
RegionAccessException with a message.s - the String messageregionFullPath - full path of region for which access was attemptedmissingRoles - the missing required roles that caused this exceptionpublic RegionAccessException(java.lang.String s,
java.lang.String regionFullPath,
java.util.Set missingRoles,
java.lang.Throwable ex)
RegionAccessException with a message and
a cause.s - the String messageregionFullPath - full path of region for which access was attemptedmissingRoles - the missing required roles that caused this exceptionex - the Throwable cause