public class CommitDistributionException extends TransactionException
MembershipAttributes may have failed. The commit itself was completed but
one or more regions affected by the transaction have one or more required
roles that were not successfully notified. Failure may be caused by
departure of one or more required roles while sending the operation to
them. This exception will contain one RegionDistributionException
for every region that had a reliability failure. Details of the failed
required roles are provided
in each RegionDistributionException.| Constructor and Description |
|---|
CommitDistributionException(java.lang.String s)
Constructs a
CommitDistributionException with a message. |
CommitDistributionException(java.lang.String s,
java.util.Set regionDistributionExceptions)
Constructs a
CommitDistributionException with a message and
a cause. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set |
getRegionDistributionExceptions()
Returns set of RegionDistributionExceptions for each region that had a
reliability failure during distribution of the operation.
|
toStringgetRootCausepublic CommitDistributionException(java.lang.String s)
CommitDistributionException with a message.s - the String messagepublic CommitDistributionException(java.lang.String s,
java.util.Set regionDistributionExceptions)
CommitDistributionException with a message and
a cause.s - the String messageregionDistributionExceptions - set of RegionDistributionExceptions
for each region that had a reliability failurepublic java.util.Set getRegionDistributionExceptions()