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/util/NumSubordinateHacker.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/opends/src/guitools/org/opends/guitools/controlpanel/util/NumSubordinateHacker.java b/opends/src/guitools/org/opends/guitools/controlpanel/util/NumSubordinateHacker.java
index 77b5aad..059e31f 100644
--- a/opends/src/guitools/org/opends/guitools/controlpanel/util/NumSubordinateHacker.java
+++ b/opends/src/guitools/org/opends/guitools/controlpanel/util/NumSubordinateHacker.java
@@ -22,7 +22,7 @@
* CDDL HEADER END
*
*
- * Copyright 2008 Sun Microsystems, Inc.
+ * Copyright 2008-2009 Sun Microsystems, Inc.
*/
package org.opends.guitools.controlpanel.util;
@@ -82,7 +82,7 @@
}
catch (OpenDsException oe)
{
- throw new IllegalStateException("Error decoding DN of url: "+
+ throw new RuntimeException("Error decoding DN of url: "+
parentUrl);
}
}
@@ -119,7 +119,7 @@
}
catch (OpenDsException oe)
{
- throw new IllegalStateException("Error decoding DN of url: "+
+ throw new RuntimeException("Error decoding DN of url: "+
url);
}
}
--
Gitblit v1.10.0