@Deprecated 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(String s,
String regionFullPath,
Set missingRoles)
Deprecated.
Constructs a
RegionAccessException with a message. |
RegionAccessException(String s,
String regionFullPath,
Set missingRoles,
Throwable ex)
Deprecated.
Constructs a
RegionAccessException with a message and a cause. |
Modifier and Type | Method and Description |
---|---|
Set |
getMissingRoles()
Deprecated.
Returns the missing required roles that caused this exception.
|
getRegionFullPath
toString
getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public RegionAccessException(String s, String regionFullPath, 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(String s, String regionFullPath, Set missingRoles, 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 causepublic Set getMissingRoles()