diff options
Diffstat (limited to 'plugins/org.eclipse.osee.framework.search.engine/src/org/eclipse/osee/framework/search/engine/internal/AttributeTaggerProviderManagerImpl.java')
-rw-r--r-- | plugins/org.eclipse.osee.framework.search.engine/src/org/eclipse/osee/framework/search/engine/internal/AttributeTaggerProviderManagerImpl.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.framework.search.engine/src/org/eclipse/osee/framework/search/engine/internal/AttributeTaggerProviderManagerImpl.java b/plugins/org.eclipse.osee.framework.search.engine/src/org/eclipse/osee/framework/search/engine/internal/AttributeTaggerProviderManagerImpl.java index 61d9d48b3a6..2d098270a26 100644 --- a/plugins/org.eclipse.osee.framework.search.engine/src/org/eclipse/osee/framework/search/engine/internal/AttributeTaggerProviderManagerImpl.java +++ b/plugins/org.eclipse.osee.framework.search.engine/src/org/eclipse/osee/framework/search/engine/internal/AttributeTaggerProviderManagerImpl.java @@ -13,9 +13,9 @@ package org.eclipse.osee.framework.search.engine.internal; import java.util.List; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; -import org.eclipse.osee.framework.core.exception.InvalidTaggerException; import org.eclipse.osee.framework.core.exception.OseeCoreException; import org.eclipse.osee.framework.core.message.SearchOptions; +import org.eclipse.osee.framework.core.exception.OseeStateException; import org.eclipse.osee.framework.core.model.cache.AttributeTypeCache; import org.eclipse.osee.framework.core.model.type.AttributeType; import org.eclipse.osee.framework.jdk.core.type.MatchLocation; @@ -52,7 +52,7 @@ public class AttributeTaggerProviderManagerImpl implements IAttributeTaggerProvi AttributeType attributeType = typeCache.getById(attrTypeId); IAttributeTaggerProvider toReturn = this.attributeTaggerProviders.get(attributeType.getTaggerId()); if (toReturn == null) { - throw new InvalidTaggerException(); + throw new OseeStateException("No tagger found for id " + attributeType.getTaggerId()); } return toReturn; } |