summaryrefslogtreecommitdiff
path: root/src/main/java/com/c2kernel/property
diff options
context:
space:
mode:
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, "");
}
}