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

public class ChangelogException extends OpenDsException
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 Details

    • changelogIsUnusable

      protected boolean changelogIsUnusable
      Whether the changelog can still process operations after throwing the exception.
  • Constructor Details

    • ChangelogException

      public ChangelogException(LocalizableMessage message)
      Creates a new changelog exception with the provided information.
      Parameters:
      message - The message that explains the problem that occurred.
    • ChangelogException

      public ChangelogException(Throwable cause)
      Creates a new changelog exception with the provided information.
      Parameters:
      cause - The underlying cause that triggered this exception.
    • ChangelogException

      public ChangelogException(LocalizableMessage message, Throwable cause)
      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