diff options
Diffstat (limited to 'src/main/java/com/c2kernel/lookup/ldap/LDAPClusterStorage.java')
| -rw-r--r-- | src/main/java/com/c2kernel/lookup/ldap/LDAPClusterStorage.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/c2kernel/lookup/ldap/LDAPClusterStorage.java b/src/main/java/com/c2kernel/lookup/ldap/LDAPClusterStorage.java index ac91c29..a264fcc 100644 --- a/src/main/java/com/c2kernel/lookup/ldap/LDAPClusterStorage.java +++ b/src/main/java/com/c2kernel/lookup/ldap/LDAPClusterStorage.java @@ -2,7 +2,7 @@ package com.c2kernel.lookup.ldap; import java.util.ArrayList;
import java.util.StringTokenizer;
-import com.c2kernel.common.ObjectNotFound;
+import com.c2kernel.common.ObjectNotFoundException;
import com.c2kernel.common.PersistencyException;
import com.c2kernel.entity.C2KLocalObject;
import com.c2kernel.lookup.ItemPath;
@@ -66,7 +66,7 @@ public class LDAPClusterStorage extends ClusterStorage { try {
Property newProperty = ldapStore.getProperty(thisItem, objName);
newObj = newProperty;
- } catch (ObjectNotFound ex) {
+ } catch (ObjectNotFoundException ex) {
throw new PersistencyException("Property "+objName+" not found in "+thisItem);
}
@@ -144,7 +144,7 @@ public class LDAPClusterStorage extends ClusterStorage { }
else
throw new PersistencyException("Cluster type "+type+" not supported.");
- } catch (ObjectNotFound e) {
+ } catch (ObjectNotFoundException e) {
throw new PersistencyException("Item "+thisItem+" does not exist");
}
}
|
