diff options
author | Shawn F. Cook | 2011-08-08 20:41:21 +0000 |
---|---|---|
committer | Ryan D. Brooks | 2011-08-08 20:41:21 +0000 |
commit | 0276a25446344462b279c122f44d4e020cb61780 (patch) | |
tree | 516043a39b1bdd4b0c4249eb2317c8f55e38e9ec /plugins/org.eclipse.osee.framework.core.message/src/org/eclipse | |
parent | f5b92c1a4b7e2b15175187dbc8f98a4dc10c7124 (diff) | |
download | org.eclipse.osee-0276a25446344462b279c122f44d4e020cb61780.tar.gz org.eclipse.osee-0276a25446344462b279c122f44d4e020cb61780.tar.xz org.eclipse.osee-0276a25446344462b279c122f44d4e020cb61780.zip |
refactor[bgz_354193]: Remove unused exception declarations
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core.message/src/org/eclipse')
16 files changed, 32 insertions, 48 deletions
diff --git a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/ArtifactTypeCacheUpdateResponseTranslator.java b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/ArtifactTypeCacheUpdateResponseTranslator.java index 64d5c0a85a8..b3a69e39b05 100644 --- a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/ArtifactTypeCacheUpdateResponseTranslator.java +++ b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/ArtifactTypeCacheUpdateResponseTranslator.java @@ -14,7 +14,6 @@ import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; -import org.eclipse.osee.framework.core.exception.OseeCoreException; import org.eclipse.osee.framework.core.message.ArtifactTypeCacheUpdateResponse; import org.eclipse.osee.framework.core.message.ArtifactTypeCacheUpdateResponse.ArtifactTypeRow; import org.eclipse.osee.framework.core.message.TranslationUtil; @@ -35,7 +34,7 @@ public class ArtifactTypeCacheUpdateResponseTranslator implements ITranslator<Ar } @Override - public ArtifactTypeCacheUpdateResponse convert(PropertyStore store) throws OseeCoreException { + public ArtifactTypeCacheUpdateResponse convert(PropertyStore store) { List<ArtifactTypeRow> rows = new ArrayList<ArtifactTypeRow>(); Map<Integer, Integer[]> baseToSuper = new HashMap<Integer, Integer[]>(); List<Triplet<String, String, String>> artAttrs = new ArrayList<Triplet<String, String, String>>(); @@ -52,7 +51,7 @@ public class ArtifactTypeCacheUpdateResponseTranslator implements ITranslator<Ar } @Override - public PropertyStore convert(ArtifactTypeCacheUpdateResponse object) throws OseeCoreException { + public PropertyStore convert(ArtifactTypeCacheUpdateResponse object) { PropertyStore store = new PropertyStore(); List<ArtifactTypeRow> rows = object.getArtTypeRows(); for (int index = 0; index < rows.size(); index++) { diff --git a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/BranchCacheStoreRequestTranslator.java b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/BranchCacheStoreRequestTranslator.java index e7e09375773..257b945da9c 100644 --- a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/BranchCacheStoreRequestTranslator.java +++ b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/BranchCacheStoreRequestTranslator.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.eclipse.osee.framework.core.message.internal.translation; -import org.eclipse.osee.framework.core.exception.OseeCoreException; import org.eclipse.osee.framework.core.message.BranchCacheStoreRequest; import org.eclipse.osee.framework.core.message.BranchCacheUpdateUtil; import org.eclipse.osee.framework.core.translation.ITranslator; @@ -27,7 +26,7 @@ public class BranchCacheStoreRequestTranslator implements ITranslator<BranchCach } @Override - public BranchCacheStoreRequest convert(PropertyStore store) throws OseeCoreException { + public BranchCacheStoreRequest convert(PropertyStore store) { BranchCacheStoreRequest request = new BranchCacheStoreRequest(); BranchCacheUpdateUtil.loadMessage(request, store); request.setServerUpdateMessage(store.getBoolean(Field.IS_SERVER_MESSAGE.name())); @@ -35,7 +34,7 @@ public class BranchCacheStoreRequestTranslator implements ITranslator<BranchCach } @Override - public PropertyStore convert(BranchCacheStoreRequest object) throws OseeCoreException { + public PropertyStore convert(BranchCacheStoreRequest object) { PropertyStore store = new PropertyStore(); BranchCacheUpdateUtil.loadStore(store, object); store.put(Field.IS_SERVER_MESSAGE.name(), object.isServerUpdateMessage()); diff --git a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/BranchCacheUpdateResponseTranslator.java b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/BranchCacheUpdateResponseTranslator.java index e12538d4f5d..2fa8e133ab7 100644 --- a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/BranchCacheUpdateResponseTranslator.java +++ b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/BranchCacheUpdateResponseTranslator.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.eclipse.osee.framework.core.message.internal.translation; -import org.eclipse.osee.framework.core.exception.OseeCoreException; import org.eclipse.osee.framework.core.message.BranchCacheUpdateResponse; import org.eclipse.osee.framework.core.message.BranchCacheUpdateUtil; import org.eclipse.osee.framework.core.translation.ITranslator; @@ -23,14 +22,14 @@ import org.eclipse.osee.framework.jdk.core.type.PropertyStore; public class BranchCacheUpdateResponseTranslator implements ITranslator<BranchCacheUpdateResponse> { @Override - public BranchCacheUpdateResponse convert(PropertyStore store) throws OseeCoreException { + public BranchCacheUpdateResponse convert(PropertyStore store) { BranchCacheUpdateResponse response = new BranchCacheUpdateResponse(); BranchCacheUpdateUtil.loadMessage(response, store); return response; } @Override - public PropertyStore convert(BranchCacheUpdateResponse object) throws OseeCoreException { + public PropertyStore convert(BranchCacheUpdateResponse object) { PropertyStore store = new PropertyStore(); BranchCacheUpdateUtil.loadStore(store, object); return store; diff --git a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/BranchChangeArchivedStateRequestTranslator.java b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/BranchChangeArchivedStateRequestTranslator.java index 80f017fb845..827f0bb7fc2 100644 --- a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/BranchChangeArchivedStateRequestTranslator.java +++ b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/BranchChangeArchivedStateRequestTranslator.java @@ -11,7 +11,6 @@ package org.eclipse.osee.framework.core.message.internal.translation; import org.eclipse.osee.framework.core.enums.BranchArchivedState; -import org.eclipse.osee.framework.core.exception.OseeCoreException; import org.eclipse.osee.framework.core.message.ChangeBranchArchiveStateRequest; import org.eclipse.osee.framework.core.translation.ITranslator; import org.eclipse.osee.framework.jdk.core.type.PropertyStore; @@ -27,7 +26,7 @@ public final class BranchChangeArchivedStateRequestTranslator implements ITransl } @Override - public ChangeBranchArchiveStateRequest convert(PropertyStore propertyStore) throws OseeCoreException { + public ChangeBranchArchiveStateRequest convert(PropertyStore propertyStore) { int branchId = propertyStore.getInt(Entry.BRANCH_ID.name()); BranchArchivedState state = BranchArchivedState.valueOf(propertyStore.get(Entry.BRANCH_ARCHIVED_STATE.name())); ChangeBranchArchiveStateRequest data = new ChangeBranchArchiveStateRequest(branchId, state); @@ -35,7 +34,7 @@ public final class BranchChangeArchivedStateRequestTranslator implements ITransl } @Override - public PropertyStore convert(ChangeBranchArchiveStateRequest data) throws OseeCoreException { + public PropertyStore convert(ChangeBranchArchiveStateRequest data) { PropertyStore store = new PropertyStore(); store.put(Entry.BRANCH_ID.name(), data.getBranchId()); store.put(Entry.BRANCH_ARCHIVED_STATE.name(), data.getState().name()); diff --git a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/BranchChangeStateRequestTranslator.java b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/BranchChangeStateRequestTranslator.java index df9f7a2d564..bc1de459e16 100644 --- a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/BranchChangeStateRequestTranslator.java +++ b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/BranchChangeStateRequestTranslator.java @@ -11,7 +11,6 @@ package org.eclipse.osee.framework.core.message.internal.translation; import org.eclipse.osee.framework.core.enums.BranchState; -import org.eclipse.osee.framework.core.exception.OseeCoreException; import org.eclipse.osee.framework.core.message.ChangeBranchStateRequest; import org.eclipse.osee.framework.core.translation.ITranslator; import org.eclipse.osee.framework.jdk.core.type.PropertyStore; @@ -27,7 +26,7 @@ public final class BranchChangeStateRequestTranslator implements ITranslator<Cha } @Override - public ChangeBranchStateRequest convert(PropertyStore propertyStore) throws OseeCoreException { + public ChangeBranchStateRequest convert(PropertyStore propertyStore) { int branchId = propertyStore.getInt(Entry.BRANCH_ID.name()); BranchState state = BranchState.valueOf(propertyStore.get(Entry.BRANCH_STATE.name())); ChangeBranchStateRequest data = new ChangeBranchStateRequest(branchId, state); @@ -35,7 +34,7 @@ public final class BranchChangeStateRequestTranslator implements ITranslator<Cha } @Override - public PropertyStore convert(ChangeBranchStateRequest data) throws OseeCoreException { + public PropertyStore convert(ChangeBranchStateRequest data) { PropertyStore store = new PropertyStore(); store.put(Entry.BRANCH_ID.name(), data.getBranchId()); store.put(Entry.BRANCH_STATE.name(), data.getState().name()); diff --git a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/BranchChangeTypeRequestTranslator.java b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/BranchChangeTypeRequestTranslator.java index ab3d80f3a33..3ef30824a22 100644 --- a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/BranchChangeTypeRequestTranslator.java +++ b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/BranchChangeTypeRequestTranslator.java @@ -11,7 +11,6 @@ package org.eclipse.osee.framework.core.message.internal.translation; import org.eclipse.osee.framework.core.enums.BranchType; -import org.eclipse.osee.framework.core.exception.OseeCoreException; import org.eclipse.osee.framework.core.message.ChangeBranchTypeRequest; import org.eclipse.osee.framework.core.translation.ITranslator; import org.eclipse.osee.framework.jdk.core.type.PropertyStore; @@ -27,7 +26,7 @@ public final class BranchChangeTypeRequestTranslator implements ITranslator<Chan } @Override - public ChangeBranchTypeRequest convert(PropertyStore propertyStore) throws OseeCoreException { + public ChangeBranchTypeRequest convert(PropertyStore propertyStore) { int branchId = propertyStore.getInt(Entry.BRANCH_ID.name()); BranchType type = BranchType.valueOf(propertyStore.get(Entry.BRANCH_TYPE.name())); ChangeBranchTypeRequest data = new ChangeBranchTypeRequest(branchId, type); @@ -35,7 +34,7 @@ public final class BranchChangeTypeRequestTranslator implements ITranslator<Chan } @Override - public PropertyStore convert(ChangeBranchTypeRequest data) throws OseeCoreException { + public PropertyStore convert(ChangeBranchTypeRequest data) { PropertyStore store = new PropertyStore(); store.put(Entry.BRANCH_ID.name(), data.getBranchId()); store.put(Entry.BRANCH_TYPE.name(), data.getType().name()); diff --git a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/BranchCommitRequestTranslator.java b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/BranchCommitRequestTranslator.java index 65bae530751..df888f3886b 100644 --- a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/BranchCommitRequestTranslator.java +++ b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/BranchCommitRequestTranslator.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.eclipse.osee.framework.core.message.internal.translation; -import org.eclipse.osee.framework.core.exception.OseeCoreException; import org.eclipse.osee.framework.core.message.BranchCommitRequest; import org.eclipse.osee.framework.core.translation.ITranslator; import org.eclipse.osee.framework.jdk.core.type.PropertyStore; @@ -28,7 +27,7 @@ public final class BranchCommitRequestTranslator implements ITranslator<BranchCo } @Override - public BranchCommitRequest convert(PropertyStore propertyStore) throws OseeCoreException { + public BranchCommitRequest convert(PropertyStore propertyStore) { int srcBranchId = propertyStore.getInt(Entry.SRC_BRANCH_ID.name()); int destBranchId = propertyStore.getInt(Entry.DEST_BRANCH_ID.name()); int userArtifactId = propertyStore.getInt(Entry.USER_ART_ID.name()); @@ -39,7 +38,7 @@ public final class BranchCommitRequestTranslator implements ITranslator<BranchCo } @Override - public PropertyStore convert(BranchCommitRequest data) throws OseeCoreException { + public PropertyStore convert(BranchCommitRequest data) { PropertyStore store = new PropertyStore(); store.put(Entry.IS_ARCHIVE_ALLOWED.name(), data.isArchiveAllowed()); store.put(Entry.USER_ART_ID.name(), data.getUserArtId()); diff --git a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/BranchCreationRequestTranslator.java b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/BranchCreationRequestTranslator.java index 5b583a49426..f624a761600 100644 --- a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/BranchCreationRequestTranslator.java +++ b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/BranchCreationRequestTranslator.java @@ -11,7 +11,6 @@ package org.eclipse.osee.framework.core.message.internal.translation; import org.eclipse.osee.framework.core.enums.BranchType; -import org.eclipse.osee.framework.core.exception.OseeCoreException; import org.eclipse.osee.framework.core.message.BranchCreationRequest; import org.eclipse.osee.framework.core.translation.ITranslator; import org.eclipse.osee.framework.jdk.core.type.PropertyStore; @@ -38,7 +37,7 @@ public class BranchCreationRequestTranslator implements ITranslator<BranchCreati } @Override - public BranchCreationRequest convert(PropertyStore store) throws OseeCoreException { + public BranchCreationRequest convert(PropertyStore store) { String branchName = store.get(Fields.BRANCH_NAME.name()); int parentBranchId = store.getInt(Fields.PARENT_BRANCH_ID.name()); int associatedArtifactId = store.getInt(Fields.ASSOCIATED_ART_ID.name()); @@ -59,7 +58,7 @@ public class BranchCreationRequestTranslator implements ITranslator<BranchCreati } @Override - public PropertyStore convert(BranchCreationRequest object) throws OseeCoreException { + public PropertyStore convert(BranchCreationRequest object) { PropertyStore store = new PropertyStore(); store.put(Fields.BRANCH_NAME.name(), object.getBranchName()); store.put(Fields.PARENT_BRANCH_ID.name(), object.getParentBranchId()); diff --git a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/BranchCreationResponseTranslator.java b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/BranchCreationResponseTranslator.java index db6dfe66c05..1d2b7a275a7 100644 --- a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/BranchCreationResponseTranslator.java +++ b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/BranchCreationResponseTranslator.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.eclipse.osee.framework.core.message.internal.translation; -import org.eclipse.osee.framework.core.exception.OseeCoreException; import org.eclipse.osee.framework.core.message.BranchCreationResponse; import org.eclipse.osee.framework.core.translation.ITranslator; import org.eclipse.osee.framework.jdk.core.type.PropertyStore; @@ -25,13 +24,13 @@ public class BranchCreationResponseTranslator implements ITranslator<BranchCreat } @Override - public BranchCreationResponse convert(PropertyStore store) throws OseeCoreException { + public BranchCreationResponse convert(PropertyStore store) { int branchId = store.getInt(Fields.BRANCH_ID.name()); return new BranchCreationResponse(branchId); } @Override - public PropertyStore convert(BranchCreationResponse object) throws OseeCoreException { + public PropertyStore convert(BranchCreationResponse object) { PropertyStore store = new PropertyStore(); store.put(Fields.BRANCH_ID.name(), object.getBranchId()); return store; diff --git a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/CacheUpdateRequestTranslator.java b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/CacheUpdateRequestTranslator.java index 069e72e7059..24177477dfe 100644 --- a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/CacheUpdateRequestTranslator.java +++ b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/CacheUpdateRequestTranslator.java @@ -14,7 +14,6 @@ import java.util.ArrayList; import java.util.Collection; import java.util.List; import org.eclipse.osee.framework.core.enums.OseeCacheEnum; -import org.eclipse.osee.framework.core.exception.OseeCoreException; import org.eclipse.osee.framework.core.message.CacheUpdateRequest; import org.eclipse.osee.framework.core.translation.ITranslator; import org.eclipse.osee.framework.jdk.core.type.PropertyStore; @@ -31,7 +30,7 @@ public class CacheUpdateRequestTranslator implements ITranslator<CacheUpdateRequ } @Override - public CacheUpdateRequest convert(PropertyStore propertyStore) throws OseeCoreException { + public CacheUpdateRequest convert(PropertyStore propertyStore) { OseeCacheEnum cacheId = OseeCacheEnum.valueOf(propertyStore.get(Entry.CACHE_ID.name())); String[] itemId = propertyStore.getArray(Entry.ITEM_IDS.name()); List<Integer> itemIds = new ArrayList<Integer>(); @@ -46,7 +45,7 @@ public class CacheUpdateRequestTranslator implements ITranslator<CacheUpdateRequ } @Override - public PropertyStore convert(CacheUpdateRequest object) throws OseeCoreException { + public PropertyStore convert(CacheUpdateRequest object) { PropertyStore store = new PropertyStore(); store.put(Entry.CACHE_ID.name(), object.getCacheId().name()); diff --git a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/ChangeReportRequestTranslator.java b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/ChangeReportRequestTranslator.java index 9e095a50136..6a89cbcdd77 100644 --- a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/ChangeReportRequestTranslator.java +++ b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/ChangeReportRequestTranslator.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.eclipse.osee.framework.core.message.internal.translation; -import org.eclipse.osee.framework.core.exception.OseeCoreException; import org.eclipse.osee.framework.core.message.ChangeReportRequest; import org.eclipse.osee.framework.core.translation.ITranslator; import org.eclipse.osee.framework.jdk.core.type.PropertyStore; @@ -25,7 +24,7 @@ public class ChangeReportRequestTranslator implements ITranslator<ChangeReportRe } @Override - public ChangeReportRequest convert(PropertyStore propertyStore) throws OseeCoreException { + public ChangeReportRequest convert(PropertyStore propertyStore) { int srcTx = propertyStore.getInt(Entry.SRC_TRANSACTION.name()); int destTx = propertyStore.getInt(Entry.DEST_TRANSACTION.name()); @@ -34,7 +33,7 @@ public class ChangeReportRequestTranslator implements ITranslator<ChangeReportRe } @Override - public PropertyStore convert(ChangeReportRequest data) throws OseeCoreException { + public PropertyStore convert(ChangeReportRequest data) { PropertyStore store = new PropertyStore(); store.put(Entry.SRC_TRANSACTION.name(), data.getSourceTx()); store.put(Entry.DEST_TRANSACTION.name(), data.getDestinationTx()); diff --git a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/DatastoreInitRequestTranslator.java b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/DatastoreInitRequestTranslator.java index a14ff66790c..4c7ee761edf 100644 --- a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/DatastoreInitRequestTranslator.java +++ b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/DatastoreInitRequestTranslator.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.eclipse.osee.framework.core.message.internal.translation; -import org.eclipse.osee.framework.core.exception.OseeCoreException; import org.eclipse.osee.framework.core.message.DatastoreInitRequest; import org.eclipse.osee.framework.core.translation.ITranslator; import org.eclipse.osee.framework.jdk.core.type.PropertyStore; @@ -24,7 +23,7 @@ public class DatastoreInitRequestTranslator implements ITranslator<DatastoreInit } @Override - public DatastoreInitRequest convert(PropertyStore store) throws OseeCoreException { + public DatastoreInitRequest convert(PropertyStore store) { String tableDataSpace = store.get(Entry.TABLE_DATA_SPACE.name()); String indexDataSpace = store.get(Entry.INDEX_DATA_SPACE.name()); boolean useSchemasSpecified = store.getBoolean(Entry.USE_FILE_SPECIFIED_SCHEMAS.name()); @@ -32,7 +31,7 @@ public class DatastoreInitRequestTranslator implements ITranslator<DatastoreInit } @Override - public PropertyStore convert(DatastoreInitRequest object) throws OseeCoreException { + public PropertyStore convert(DatastoreInitRequest object) { PropertyStore store = new PropertyStore(); store.put(Entry.INDEX_DATA_SPACE.name(), object.getIndexDataSpace()); store.put(Entry.TABLE_DATA_SPACE.name(), object.getTableDataSpace()); diff --git a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/OseeEnumTypeCacheUpdateResponseTranslator.java b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/OseeEnumTypeCacheUpdateResponseTranslator.java index b33c8251e6e..cd96699e685 100644 --- a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/OseeEnumTypeCacheUpdateResponseTranslator.java +++ b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/OseeEnumTypeCacheUpdateResponseTranslator.java @@ -12,7 +12,6 @@ package org.eclipse.osee.framework.core.message.internal.translation; import java.util.ArrayList; import java.util.List; -import org.eclipse.osee.framework.core.exception.OseeCoreException; import org.eclipse.osee.framework.core.message.OseeEnumTypeCacheUpdateResponse; import org.eclipse.osee.framework.core.translation.ITranslator; import org.eclipse.osee.framework.jdk.core.type.PropertyStore; @@ -30,7 +29,7 @@ public class OseeEnumTypeCacheUpdateResponseTranslator implements ITranslator<Os } @Override - public OseeEnumTypeCacheUpdateResponse convert(PropertyStore store) throws OseeCoreException { + public OseeEnumTypeCacheUpdateResponse convert(PropertyStore store) { int enumTypeRowCount = store.getInt(Fields.ENUM_TYPE_COUNT.name()); List<String[]> enumTypeRows = new ArrayList<String[]>(enumTypeRowCount); @@ -52,7 +51,7 @@ public class OseeEnumTypeCacheUpdateResponseTranslator implements ITranslator<Os } @Override - public PropertyStore convert(OseeEnumTypeCacheUpdateResponse response) throws OseeCoreException { + public PropertyStore convert(OseeEnumTypeCacheUpdateResponse response) { PropertyStore store = new PropertyStore(); List<String[]> enumTypeRows = response.getEnumTypeRows(); diff --git a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/OseeImportModelRequestTranslator.java b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/OseeImportModelRequestTranslator.java index 88885ba8f55..a02af8b81d9 100644 --- a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/OseeImportModelRequestTranslator.java +++ b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/OseeImportModelRequestTranslator.java @@ -10,7 +10,6 @@ *******************************************************************************/ package org.eclipse.osee.framework.core.message.internal.translation; -import org.eclipse.osee.framework.core.exception.OseeCoreException; import org.eclipse.osee.framework.core.message.OseeImportModelRequest; import org.eclipse.osee.framework.core.translation.ITranslator; import org.eclipse.osee.framework.jdk.core.type.PropertyStore; @@ -29,7 +28,7 @@ public class OseeImportModelRequestTranslator implements ITranslator<OseeImportM } @Override - public OseeImportModelRequest convert(PropertyStore store) throws OseeCoreException { + public OseeImportModelRequest convert(PropertyStore store) { String model = store.get(Fields.MODEL.name()); String modelName = store.get(Fields.MODEL_NAME.name()); boolean createTypeChangeReport = store.getBoolean(Fields.GENERATE_DIRTY_REPORT.name()); @@ -40,7 +39,7 @@ public class OseeImportModelRequestTranslator implements ITranslator<OseeImportM } @Override - public PropertyStore convert(OseeImportModelRequest object) throws OseeCoreException { + public PropertyStore convert(OseeImportModelRequest object) { PropertyStore store = new PropertyStore(); store.put(Fields.MODEL_NAME.name(), object.getModelName()); store.put(Fields.MODEL.name(), object.getModel()); diff --git a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/RelationTypeCacheUpdateResponseTranslator.java b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/RelationTypeCacheUpdateResponseTranslator.java index 4dfeb94abc1..2caf117500d 100644 --- a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/RelationTypeCacheUpdateResponseTranslator.java +++ b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/RelationTypeCacheUpdateResponseTranslator.java @@ -12,7 +12,6 @@ package org.eclipse.osee.framework.core.message.internal.translation; import java.util.ArrayList; import java.util.List; -import org.eclipse.osee.framework.core.exception.OseeCoreException; import org.eclipse.osee.framework.core.message.RelationTypeCacheUpdateResponse; import org.eclipse.osee.framework.core.message.RelationTypeCacheUpdateResponse.RelationTypeRow; import org.eclipse.osee.framework.core.translation.ITranslator; @@ -29,7 +28,7 @@ public class RelationTypeCacheUpdateResponseTranslator implements ITranslator<Re } @Override - public RelationTypeCacheUpdateResponse convert(PropertyStore store) throws OseeCoreException { + public RelationTypeCacheUpdateResponse convert(PropertyStore store) { List<RelationTypeRow> rows = new ArrayList<RelationTypeRow>(); int rowCount = store.getInt(Fields.COUNT.name()); for (int index = 0; index < rowCount; index++) { @@ -40,7 +39,7 @@ public class RelationTypeCacheUpdateResponseTranslator implements ITranslator<Re } @Override - public PropertyStore convert(RelationTypeCacheUpdateResponse object) throws OseeCoreException { + public PropertyStore convert(RelationTypeCacheUpdateResponse object) { PropertyStore store = new PropertyStore(); List<RelationTypeRow> rows = object.getRelationTypeRows(); for (int index = 0; index < rows.size(); index++) { diff --git a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/TableDataTranslator.java b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/TableDataTranslator.java index ec0db65add7..1c5530babc7 100644 --- a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/TableDataTranslator.java +++ b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/TableDataTranslator.java @@ -12,7 +12,6 @@ package org.eclipse.osee.framework.core.message.internal.translation; import java.util.ArrayList; import java.util.List; -import org.eclipse.osee.framework.core.exception.OseeCoreException; import org.eclipse.osee.framework.core.message.TableData; import org.eclipse.osee.framework.core.message.TranslationUtil; import org.eclipse.osee.framework.core.translation.ITranslator; @@ -36,7 +35,7 @@ public class TableDataTranslator implements ITranslator<TableData> { } @Override - public TableData convert(PropertyStore store) throws OseeCoreException { + public TableData convert(PropertyStore store) { String title = store.get(Entry.TITLE.name()); String[] columns = store.getArray(Entry.HEADERS.name()); @@ -49,7 +48,7 @@ public class TableDataTranslator implements ITranslator<TableData> { } @Override - public PropertyStore convert(TableData data) throws OseeCoreException { + public PropertyStore convert(TableData data) { PropertyStore store = new PropertyStore(); store.put(Entry.TITLE.name(), data.getTitle()); store.put(Entry.HEADERS.name(), data.getColumns()); |