Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/relation/RelationTypeManager.java')
-rw-r--r--plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/relation/RelationTypeManager.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/relation/RelationTypeManager.java b/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/relation/RelationTypeManager.java
index e37cc320a9c..5a6513cd1da 100644
--- a/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/relation/RelationTypeManager.java
+++ b/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/relation/RelationTypeManager.java
@@ -81,7 +81,7 @@ public class RelationTypeManager {
public static RelationType getTypeByGuid(String guid) throws OseeCoreException {
RelationType relationType = getCache().getByGuid(guid);
if (relationType == null) {
- throw new OseeTypeDoesNotExist("The relation with type guid [" + guid + "] does not exist");
+ throw new OseeTypeDoesNotExist("The relation with type guid [%s] does not exist", guid);
}
return relationType;
}
@@ -97,7 +97,7 @@ public class RelationTypeManager {
public static RelationType getType(String typeName) throws OseeCoreException {
RelationType relationType = getCache().getUniqueByName(typeName);
if (relationType == null) {
- throw new OseeTypeDoesNotExist("The relation type [" + typeName + "] does not exist");
+ throw new OseeTypeDoesNotExist("The relation type [%s] does not exist", typeName);
}
return relationType;
}

Back to the top