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/JavaInformationMonitoringPanel.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/opends/src/guitools/org/opends/guitools/controlpanel/ui/JavaInformationMonitoringPanel.java b/opends/src/guitools/org/opends/guitools/controlpanel/ui/JavaInformationMonitoringPanel.java
index d95d171..2f58c8d 100644
--- a/opends/src/guitools/org/opends/guitools/controlpanel/ui/JavaInformationMonitoringPanel.java
+++ b/opends/src/guitools/org/opends/guitools/controlpanel/ui/JavaInformationMonitoringPanel.java
@@ -331,7 +331,7 @@
}
else
{
- throw new IllegalStateException("Unexpected component: "+l);
+ throw new RuntimeException("Unexpected component: "+l);
}
}
}
@@ -349,7 +349,7 @@
}
else
{
- throw new IllegalStateException("Unexpected component: "+l);
+ throw new RuntimeException("Unexpected component: "+l);
}
}
}
--
Gitblit v1.10.0