summaryrefslogtreecommitdiff
path: root/src/main/java/com/c2kernel/property
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@cern.ch>2012-06-22 10:11:17 +0200
committerAndrew Branson <andrew.branson@cern.ch>2012-06-22 10:11:17 +0200
commit0baa46d5ee4f62adb58f436af4978d9468454870 (patch)
treecb88cda1ed564b8bb445fd4180728fd0db25192f /src/main/java/com/c2kernel/property
parente0b01f55e2be314ee60df092aa75f34c5f4cb8f2 (diff)
Modules and entitycreation support Aggregations, collection properties
and class identifiers
Diffstat (limited to 'src/main/java/com/c2kernel/property')
-rw-r--r--src/main/java/com/c2kernel/property/PropertyUtility.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/com/c2kernel/property/PropertyUtility.java b/src/main/java/com/c2kernel/property/PropertyUtility.java
index f8e714c..497e5d3 100644
--- a/src/main/java/com/c2kernel/property/PropertyUtility.java
+++ b/src/main/java/com/c2kernel/property/PropertyUtility.java
@@ -12,6 +12,7 @@ package com.c2kernel.property;
import java.util.ArrayList;
import java.util.Iterator;
+import com.c2kernel.common.ObjectNotFoundException;
import com.c2kernel.persistency.ClusterStorage;
import com.c2kernel.persistency.outcome.Outcome;
import com.c2kernel.process.Gateway;
@@ -54,7 +55,7 @@ public class PropertyUtility
}
- static public PropertyDescriptionList getPropertyDescriptionOutcome(int entityKey)
+ static public PropertyDescriptionList getPropertyDescriptionOutcome(int entityKey) throws ObjectNotFoundException
{
try
{
@@ -64,7 +65,7 @@ public class PropertyUtility
catch (Exception ex)
{
Logger.error(ex);
- return null;
+ throw new ObjectNotFoundException("Problem getting PropertyDescription from "+entityKey, "");
}
}