From 87b833785ea2cc806465bdecb446d422b57a6769 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Tue, 21 Aug 2007 21:03:35 +0000
Subject: [PATCH] Update the messages in admin_tool.properties to use the proper severity and not only the INFO severity.

---
 opendj-sdk/opends/src/guitools/org/opends/guitools/statuspanel/ConfigFromLDAP.java |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/opendj-sdk/opends/src/guitools/org/opends/guitools/statuspanel/ConfigFromLDAP.java b/opendj-sdk/opends/src/guitools/org/opends/guitools/statuspanel/ConfigFromLDAP.java
index 50537d4..ee770d6 100644
--- a/opendj-sdk/opends/src/guitools/org/opends/guitools/statuspanel/ConfigFromLDAP.java
+++ b/opendj-sdk/opends/src/guitools/org/opends/guitools/statuspanel/ConfigFromLDAP.java
@@ -218,14 +218,14 @@
       }
       else
       {
-        errorMessage = INFO_ERROR_READING_CONFIG_LDAP.get(detail);
+        errorMessage = ERR_READING_CONFIG_LDAP.get(detail);
       }
     }
     catch (Throwable t)
     {
       // Bug
       t.printStackTrace();
-      errorMessage = INFO_ERROR_READING_CONFIG_LDAP.get(t.toString());
+      errorMessage = ERR_READING_CONFIG_LDAP.get(t.toString());
     }
   }
 
@@ -337,7 +337,7 @@
         }
         else
         {
-          throw new ConfigException(INFO_COULD_NOT_FIND_VALID_LDAPURL.get());
+          throw new ConfigException(ERR_COULD_NOT_FIND_VALID_LDAPURL.get());
         }
         break;
       case USE_LDAPS:
@@ -348,7 +348,7 @@
         }
         else
         {
-          throw new ConfigException(INFO_COULD_NOT_FIND_VALID_LDAPURL.get());
+          throw new ConfigException(ERR_COULD_NOT_FIND_VALID_LDAPURL.get());
         }
         break;
       case USE_LDAP:
@@ -359,7 +359,7 @@
         }
         else
         {
-          throw new ConfigException(INFO_COULD_NOT_FIND_VALID_LDAPURL.get());
+          throw new ConfigException(ERR_COULD_NOT_FIND_VALID_LDAPURL.get());
         }
         break;
       case USE_MOST_SECURE_AVAILABLE:
@@ -381,7 +381,7 @@
         }
         else
         {
-          throw new ConfigException(INFO_COULD_NOT_FIND_VALID_LDAPURL.get());
+          throw new ConfigException(ERR_COULD_NOT_FIND_VALID_LDAPURL.get());
         }
         break;
       case USE_LESS_SECURE_AVAILABLE:
@@ -397,7 +397,7 @@
         }
         else
         {
-          throw new ConfigException(INFO_COULD_NOT_FIND_VALID_LDAPURL.get());
+          throw new ConfigException(ERR_COULD_NOT_FIND_VALID_LDAPURL.get());
         }
         break;
         default:
@@ -1020,7 +1020,7 @@
       }
       else
       {
-        throw new ConfigException(INFO_COULD_NOT_FIND_VALID_LDAPURL.get());
+        throw new ConfigException(ERR_COULD_NOT_FIND_VALID_LDAPURL.get());
       }
       break;
     case USE_LDAPS:
@@ -1030,7 +1030,7 @@
       }
       else
       {
-        throw new ConfigException(INFO_COULD_NOT_FIND_VALID_LDAPURL.get());
+        throw new ConfigException(ERR_COULD_NOT_FIND_VALID_LDAPURL.get());
       }
       break;
     case USE_LDAP:
@@ -1040,7 +1040,7 @@
       }
       else
       {
-        throw new ConfigException(INFO_COULD_NOT_FIND_VALID_LDAPURL.get());
+        throw new ConfigException(ERR_COULD_NOT_FIND_VALID_LDAPURL.get());
       }
       break;
     case USE_MOST_SECURE_AVAILABLE:
@@ -1058,7 +1058,7 @@
       }
       else
       {
-        throw new ConfigException(INFO_COULD_NOT_FIND_VALID_LDAPURL.get());
+        throw new ConfigException(ERR_COULD_NOT_FIND_VALID_LDAPURL.get());
       }
       break;
     case USE_LESS_SECURE_AVAILABLE:
@@ -1072,7 +1072,7 @@
       }
       else
       {
-        throw new ConfigException(INFO_COULD_NOT_FIND_VALID_LDAPURL.get());
+        throw new ConfigException(ERR_COULD_NOT_FIND_VALID_LDAPURL.get());
       }
       break;
       default:

--
Gitblit v1.10.0