public class CPSubsystemException extends HazelcastException
This exception can include the known leader of a CPGroup
when it's thrown.
Leader endpoint can be accessed by getLeader(), if available.
| Constructor and Description |
|---|
CPSubsystemException(Endpoint leader) |
CPSubsystemException(String message,
Endpoint leader) |
CPSubsystemException(String message,
Endpoint leader,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
Endpoint |
getLeader()
Returns the leader endpoint of related CP group, if known/available
by the time this exception is thrown.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringCopyright © 2019 Hazelcast, Inc.. All Rights Reserved.