From a94c41b1759c23f849376a5f5448bc6e819f1c11 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Sat, 18 Jan 2014 00:58:42 +0000
Subject: [PATCH] Simplify config framework exception hierarchy by removing and pulling up the following exceptions:
---
opendj-config/src/test/java/org/forgerock/opendj/config/TestChildCfgClient.java | 28 ++++++++++++++--------------
1 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/opendj-config/src/test/java/org/forgerock/opendj/config/TestChildCfgClient.java b/opendj-config/src/test/java/org/forgerock/opendj/config/TestChildCfgClient.java
index 4d33ae6..c813dde 100644
--- a/opendj-config/src/test/java/org/forgerock/opendj/config/TestChildCfgClient.java
+++ b/opendj-config/src/test/java/org/forgerock/opendj/config/TestChildCfgClient.java
@@ -63,10 +63,10 @@
*
* @param values
* The values of the "aggregation-property" property.
- * @throws IllegalPropertyValueException
+ * @throws PropertyException
* If one or more of the new values are invalid.
*/
- void setAggregationProperty(Collection<String> values) throws IllegalPropertyValueException;
+ void setAggregationProperty(Collection<String> values) throws PropertyException;
/**
* Get the "mandatory-boolean-property" property.
@@ -84,10 +84,10 @@
*
* @param value
* The value of the "mandatory-boolean-property" property.
- * @throws IllegalPropertyValueException
+ * @throws PropertyException
* If the new value is invalid.
*/
- void setMandatoryBooleanProperty(boolean value) throws IllegalPropertyValueException;
+ void setMandatoryBooleanProperty(boolean value) throws PropertyException;
/**
* Get the "mandatory-class-property" property.
@@ -105,10 +105,10 @@
*
* @param value
* The value of the "mandatory-class-property" property.
- * @throws IllegalPropertyValueException
+ * @throws PropertyException
* If the new value is invalid.
*/
- void setMandatoryClassProperty(String value) throws IllegalPropertyValueException;
+ void setMandatoryClassProperty(String value) throws PropertyException;
/**
* Get the "mandatory-read-only-attribute-type-property" property.
@@ -131,13 +131,13 @@
* @param value
* The value of the "mandatory-read-only-attribute-type-property"
* property.
- * @throws IllegalPropertyValueException
+ * @throws PropertyException
* If the new value is invalid.
- * @throws PropertyIsReadOnlyException
+ * @throws PropertyException
* If this Test Child is not being initialized.
*/
- void setMandatoryReadOnlyAttributeTypeProperty(AttributeType value) throws IllegalPropertyValueException,
- PropertyIsReadOnlyException;
+ void setMandatoryReadOnlyAttributeTypeProperty(AttributeType value) throws PropertyException,
+ PropertyException;
/**
* Get the "optional-multi-valued-dn-property1" property.
@@ -159,10 +159,10 @@
* @param values
* The values of the "optional-multi-valued-dn-property1"
* property.
- * @throws IllegalPropertyValueException
+ * @throws PropertyException
* If one or more of the new values are invalid.
*/
- void setOptionalMultiValuedDNProperty1(Collection<DN> values) throws IllegalPropertyValueException;
+ void setOptionalMultiValuedDNProperty1(Collection<DN> values) throws PropertyException;
/**
* Get the "optional-multi-valued-dn-property2" property.
@@ -184,9 +184,9 @@
* @param values
* The values of the "optional-multi-valued-dn-property2"
* property.
- * @throws IllegalPropertyValueException
+ * @throws PropertyException
* If one or more of the new values are invalid.
*/
- void setOptionalMultiValuedDNProperty2(Collection<DN> values) throws IllegalPropertyValueException;
+ void setOptionalMultiValuedDNProperty2(Collection<DN> values) throws PropertyException;
}
--
Gitblit v1.10.0