From cfc513043c5830b5a967733066068c7097b42e3c Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Wed, 15 Aug 2007 21:34:53 +0000
Subject: [PATCH] This commit is a step toward getting OpenDS internationalized. There are still issues to be resolved before we can declare that we are internationalized but this commit covers the bulk of changes needed at this time.
---
opendj-sdk/opends/src/server/org/opends/server/replication/server/ReplicationDBException.java | 16 ++--------------
1 files changed, 2 insertions(+), 14 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/replication/server/ReplicationDBException.java b/opendj-sdk/opends/src/server/org/opends/server/replication/server/ReplicationDBException.java
index 35a7461..d1e9b60 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/replication/server/ReplicationDBException.java
+++ b/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;
- }
}
--
Gitblit v1.10.0