Class ReplicationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.bookkeeper.replication.ReplicationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ReplicationException.BKAuditException,ReplicationException.CompatibilityException,ReplicationException.UnavailableException
Exceptions for use within the replication service.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classException while auditing bookie-ledgers.static classCompatibility error.static classThe replication service encountered an error that requires service restart.static classThe replication service has become unavailable. -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedReplicationException(String message) protectedReplicationException(String message, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionfromKeeperException(String message, org.apache.zookeeper.KeeperException ke) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
EXCEPTION_HANDLER
-
-
Constructor Details
-
ReplicationException
-
ReplicationException
-
-
Method Details
-
fromKeeperException
public static ReplicationException.UnavailableException fromKeeperException(String message, org.apache.zookeeper.KeeperException ke)
-