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

kenneth_suter
15.34.2007 80c58327faaa4873369f6bb949e62792c2f708e0
opends/src/server/org/opends/server/tools/makeldif/MakeLDIFException.java
@@ -28,8 +28,9 @@
import org.opends.server.types.IdentifiedException;
import org.opends.server.types.IdentifiedException;
import org.opends.messages.Message;
/**
@@ -50,22 +51,14 @@
  // The unique identifier for the message.
  private int msgID;
  /**
   * Creates a new MakeLDIF exception with the provided information.
   *
   * @param  msgID    The unique identifier for the message.
   * @param  message  The message for this exception.
   */
  public MakeLDIFException(int msgID, String message)
  public MakeLDIFException(Message message)
  {
    super(message);
    this.msgID = msgID;
  }
@@ -73,27 +66,13 @@
  /**
   * Creates a new MakeLDIF exception with the provided information.
   *
   * @param  msgID    The unique identifier for the message.
   * @param  message  The message for this exception.
   * @param  cause    The underlying cause for this exception.
   */
  public MakeLDIFException(int msgID, String message, Throwable cause)
  public MakeLDIFException(Message message, Throwable cause)
  {
    super(message, cause);
    this.msgID = msgID;
  }
  /**
   * Retrieves the unique identifier for the message.
   *
   * @return  The unique identifier for the message.
   */
  public int getMessageID()
  {
    return msgID;
  }
}