commit | 9e7d0e9af5611016d8cde8bdd97b26e821f86ea3 | [log] [tgz] |
---|---|---|
author | David Morgan Spencer Savage <dsavage@apache.org> | Sun Sep 27 14:11:58 2009 +0000 |
committer | David Morgan Spencer Savage <dsavage@apache.org> | Sun Sep 27 14:11:58 2009 +0000 |
tree | 5f3b0fd475bc2691362e6a2df010c668c72a02b3 | |
parent | 0b43633109d7b814121c23bf469faf3a1e13e4bb [diff] |
log error vs throwing illegal state which locks up rest of IDE (FELIX-1647) git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@819315 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/sigil/eclipse/core/src/org/apache/felix/sigil/eclipse/internal/model/repository/RepositoryConfiguration.java b/sigil/eclipse/core/src/org/apache/felix/sigil/eclipse/internal/model/repository/RepositoryConfiguration.java index e8a3aca..5fdc320 100644 --- a/sigil/eclipse/core/src/org/apache/felix/sigil/eclipse/internal/model/repository/RepositoryConfiguration.java +++ b/sigil/eclipse/core/src/org/apache/felix/sigil/eclipse/internal/model/repository/RepositoryConfiguration.java
@@ -172,9 +172,11 @@ { IRepositoryModel rep = findRepository( s ); if ( rep == null ) { - throw new IllegalStateException( "Missing repository for " + s ); + SigilCore.error( "Missing repository for " + s ); } - reps.add( rep ); + else { + reps.add( rep ); + } } return new RepositorySet( reps ); }