From 9314d4add5ffbc40b21347539a0e503964dae207 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-sdk/opendj-config/src/main/java/org/forgerock/opendj/config/PropertyDefinition.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/opendj-sdk/opendj-config/src/main/java/org/forgerock/opendj/config/PropertyDefinition.java b/opendj-sdk/opendj-config/src/main/java/org/forgerock/opendj/config/PropertyDefinition.java
index 3d7c80f..e0d30fd 100644
--- a/opendj-sdk/opendj-config/src/main/java/org/forgerock/opendj/config/PropertyDefinition.java
+++ b/opendj-sdk/opendj-config/src/main/java/org/forgerock/opendj/config/PropertyDefinition.java
@@ -321,7 +321,7 @@
* @param options
* Options to use when decoding value.
* @return Returns the decoded property value.
- * @throws IllegalPropertyValueStringException
+ * @throws PropertyException
* If the property value string is invalid.
*/
public abstract T decodeValue(String value, PropertyDefinitionsOptions options);
@@ -335,7 +335,7 @@
* @param value
* The property value (must not be <code>null</code>).
* @return Returns the encoded property string value.
- * @throws IllegalPropertyValueException
+ * @throws PropertyException
* If the property value is invalid.
*/
public String encodeValue(T value) {
@@ -520,7 +520,7 @@
* @param value
* The property value to be normalized.
* @return Returns the normalized property value.
- * @throws IllegalPropertyValueException
+ * @throws PropertyException
* If the property value is invalid.
*/
public String normalizeValue(T value) {
@@ -566,7 +566,7 @@
* The property value (must not be <code>null</code>).
* @param options
* Options to use when decoding value.
- * @throws IllegalPropertyValueException
+ * @throws PropertyException
* If the property value is invalid.
*/
public abstract void validateValue(T value, PropertyDefinitionsOptions options);
--
Gitblit v1.10.0