From f8974b5042832d924824708096a8fbf620580045 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.

---
 opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/task/NewEntryTask.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/task/NewEntryTask.java b/opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/task/NewEntryTask.java
index 9f44ab8..59a31a1 100644
--- a/opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/task/NewEntryTask.java
+++ b/opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/task/NewEntryTask.java
@@ -364,7 +364,7 @@
       catch (Throwable t)
       {
         // Bug
-        throw new IllegalStateException("Unexpected error: "+t, t);
+        throw new RuntimeException("Unexpected error: "+t, t);
       }
     }
     return parentNode;

--
Gitblit v1.10.0