Class ChangelogException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.opends.server.types.OpenDsException
org.opends.server.replication.server.changelog.api.ChangelogException
- All Implemented Interfaces:
Serializable,LocalizableException
- Direct Known Subclasses:
AbortedChangelogCursorException,PurgedReplicaDbException
This class define an Exception that must be used when some error condition was detected in the changelog database
that cannot be recovered automatically.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanWhether the changelog can still process operations after throwing the exception. -
Constructor Summary
ConstructorsConstructorDescriptionChangelogException(Throwable cause) Creates a new changelog exception with the provided information.ChangelogException(LocalizableMessage message) Creates a new changelog exception with the provided information.ChangelogException(LocalizableMessage message, Throwable cause) Creates a new identified exception with the provided information. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the changelog can no longer process operations after throwing this exception.Methods inherited from class org.opends.server.types.OpenDsException
getMessageObjectMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
changelogIsUnusable
protected boolean changelogIsUnusableWhether the changelog can still process operations after throwing the exception.
-
-
Constructor Details
-
ChangelogException
Creates a new changelog exception with the provided information.- Parameters:
message- The message that explains the problem that occurred.
-
ChangelogException
Creates a new changelog exception with the provided information.- Parameters:
cause- The underlying cause that triggered this exception.
-
ChangelogException
Creates a new identified exception with the provided information.- Parameters:
message- The message that explains the problem that occurred.cause- The underlying cause that triggered this exception.
-
-
Method Details
-
isChangelogUnusable
public boolean isChangelogUnusable()Returns whether the changelog can no longer process operations after throwing this exception.- Returns:
trueif the changelog is no longer usable.
-