public class RegionDistributionException extends RegionRoleException
required roles
may have
failed. Failure may be caused by departure of one or more required roles
while sending the message to them. If the region scope is DISTRIBUTED_NO_ACK or
GLOBAL then failure
may be caused by one or more required roles not acknowledging receipt of
the message.Constructor and Description |
---|
RegionDistributionException(String s,
String regionFullPath,
Set failedRoles)
Constructs a
RegionDistributionException with a message. |
RegionDistributionException(String s,
String regionFullPath,
Set failedRoles,
Throwable ex)
Constructs a
RegionDistributionException with a message and
a cause. |
Modifier and Type | Method and Description |
---|---|
Set |
getFailedRoles()
Returns the required roles that caused this exception.
|
getRegionFullPath
toString
getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public RegionDistributionException(String s, String regionFullPath, Set failedRoles)
RegionDistributionException
with a message.s
- the String messageregionFullPath
- full path of region for which access was attemptedfailedRoles
- the required roles that caused this exceptionpublic RegionDistributionException(String s, String regionFullPath, Set failedRoles, Throwable ex)
RegionDistributionException
with a message and
a cause.s
- the String messageregionFullPath
- full path of region for which access was attemptedfailedRoles
- the required roles that caused this exceptionex
- the Throwable causepublic Set getFailedRoles()
Copyright © 1997-2017 Pivotal Software, Inc. All rights reserved.