From 95b972d6e249498f9a5fa44d166a47eb52cf0853 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Fri, 28 Aug 2009 11:09:58 +0000
Subject: [PATCH] Most of the Exceptions that were thrown when a bug was detected where IllegalStateException.  This was not very strict, so when that usage is not appropriate RuntimeException is used.

---
 opends/src/guitools/org/opends/guitools/controlpanel/ui/ViewEntryPanel.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opends/src/guitools/org/opends/guitools/controlpanel/ui/ViewEntryPanel.java b/opends/src/guitools/org/opends/guitools/controlpanel/ui/ViewEntryPanel.java
index 4478668..7862861 100644
--- a/opends/src/guitools/org/opends/guitools/controlpanel/ui/ViewEntryPanel.java
+++ b/opends/src/guitools/org/opends/guitools/controlpanel/ui/ViewEntryPanel.java
@@ -618,7 +618,7 @@
         }
         catch (ParseException pe)
         {
-         throw new IllegalStateException("Unexpected error: "+pe, pe);
+         throw new RuntimeException("Unexpected error: "+pe, pe);
         }
       }
       else

--
Gitblit v1.10.0