From 4707d7cb2cc6c399a7e20fa6e667ad736dd8261d Mon Sep 17 00:00:00 2001
From: buczekp <buczekp>
Date: Wed, 9 Mar 2011 20:39:36 +0000
Subject: [PATCH] [LMS-1979] fixed dependency

SVN: 20277
---
 .../bo/managed_property/EntityInformationProvider.java        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/managed_property/EntityInformationProvider.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/managed_property/EntityInformationProvider.java
index fa17d2b22ff..41be65f612e 100644
--- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/managed_property/EntityInformationProvider.java
+++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/server/business/bo/managed_property/EntityInformationProvider.java
@@ -19,7 +19,7 @@ package ch.systemsx.cisd.openbis.generic.server.business.bo.managed_property;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Component;
 
-import ch.systemsx.cisd.openbis.generic.client.web.client.exception.UserFailureException;
+import ch.systemsx.cisd.common.exceptions.UserFailureException;
 import ch.systemsx.cisd.openbis.generic.server.dataaccess.IDAOFactory;
 import ch.systemsx.cisd.openbis.generic.shared.ResourceNames;
 import ch.systemsx.cisd.openbis.generic.shared.basic.IIdentifierHolder;
@@ -110,7 +110,7 @@ public class EntityInformationProvider implements IEntityInformationProvider
                         homeInstance);
         if (space == null)
         {
-            throw new UserFailureException("space " + spaceCode + " doesn't exist");
+            throw UserFailureException.fromTemplate("space '%s' doesn't exist ", spaceCode);
         }
         SamplePE sample = daoFactory.getSampleDAO().tryFindByCodeAndSpace(sampleCode, space);
         return (sample != null) ? sample.getPermId() : null;
-- 
GitLab