From d46701cdbecec6f6c10f57432f3e6a484752f42c Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Sat, 18 Jan 2014 00:55:24 +0000
Subject: [PATCH] Simplify config framework exception hierarchy by removing and pulling up the following exceptions:
---
opendj3-server-dev/src/server/org/opends/server/admin/condition/ContainsCondition.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/opendj3-server-dev/src/server/org/opends/server/admin/condition/ContainsCondition.java b/opendj3-server-dev/src/server/org/opends/server/admin/condition/ContainsCondition.java
index 97bab5e..c0ece18 100644
--- a/opendj3-server-dev/src/server/org/opends/server/admin/condition/ContainsCondition.java
+++ b/opendj3-server-dev/src/server/org/opends/server/admin/condition/ContainsCondition.java
@@ -31,7 +31,7 @@
import java.util.SortedSet;
import org.opends.server.admin.AbstractManagedObjectDefinition;
-import org.opends.server.admin.IllegalPropertyValueStringException;
+import org.opends.server.admin.PropertyException;
import org.opends.server.admin.PropertyDefinition;
import org.opends.server.admin.client.AuthorizationException;
import org.opends.server.admin.client.CommunicationException;
@@ -67,7 +67,7 @@
// Private constructor.
private Impl(PropertyDefinition<T> pd, T value)
- throws IllegalPropertyValueStringException {
+ throws PropertyException {
this.pd = pd;
this.value = value;
}
@@ -189,7 +189,7 @@
// Creates the new private implementation.
private <T> void buildImpl(PropertyDefinition<T> pd)
- throws IllegalPropertyValueStringException {
+ throws PropertyException {
T value = pd.decodeValue(propertyStringValue);
this.impl = new Impl<T>(pd, value);
}
--
Gitblit v1.10.0