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 if the server can continue processing the changelog after the exception is thrown.Methods inherited from class OpenDsException
getMessageObjectMethods inherited from class 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 if the server can continue processing the changelog after the exception is thrown.- Returns:
- if the server can continue processing the changelog after the exception is thrown
-