mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

kenneth_suter
15.34.2007 cfc513043c5830b5a967733066068c7097b42e3c
opendj-sdk/opends/src/server/org/opends/server/replication/server/ReplicationDBException.java
@@ -25,13 +25,13 @@
 *      Portions Copyright 2006-2007 Sun Microsystems, Inc.
 */
package org.opends.server.replication.server;
import org.opends.messages.Message;
import org.opends.server.types.IdentifiedException;
/**
 * This class define an Exception that must be used when some error
 * condition was detected in the replicationServer database that cannot be
@@ -39,7 +39,6 @@
 */
public class ReplicationDBException extends IdentifiedException
{
  private int messageID;
  private static final long serialVersionUID = -8812600147768060090L;
@@ -48,22 +47,11 @@
   * This Exception must be used when the full replicationServer service is
   * compromised by the exception
   *
   * @param  messageID  The unique message ID for the provided message.
   * @param  message    The message to use for this exception.
   */
  public ReplicationDBException(int messageID, String message)
  public ReplicationDBException(Message message)
  {
    super(message);
    this.messageID = messageID;
  }
  /**
   * Returns the message Id associated to this Exception.
   * @return the message ID associated to this Exception.
   */
  public int getMessageID()
  {
    return messageID;
  }
}