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(String s)
Constructs a
CommitDistributionException with a message. |
CommitDistributionException(String s,
Set regionDistributionExceptions)
Constructs a
CommitDistributionException with a message and a cause. |
Modifier and Type | Method and Description |
---|---|
Set |
getRegionDistributionExceptions()
Returns set of RegionDistributionExceptions for each region that had a reliability failure
during distribution of the operation.
|
toString
getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public CommitDistributionException(String s)
CommitDistributionException
with a message.s
- the String messagepublic CommitDistributionException(String s, Set regionDistributionExceptions)
CommitDistributionException
with a message and a cause.s
- the String messageregionDistributionExceptions
- set of RegionDistributionExceptions for each region that
had a reliability failurepublic Set getRegionDistributionExceptions()