summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-07-24 12:22:47 (EDT)
committerEike Stepper2007-07-24 12:22:47 (EDT)
commit454c2c4b493a7be5562fe83314688cddb46e8f49 (patch)
tree7a1936e677d60206303272fb61d6679b82ffb7d8
parentcdbef9075e416eab04432f0c237f16be8d398ac0 (diff)
downloadcdo-454c2c4b493a7be5562fe83314688cddb46e8f49.zip
cdo-454c2c4b493a7be5562fe83314688cddb46e8f49.tar.gz
cdo-454c2c4b493a7be5562fe83314688cddb46e8f49.tar.bz2
*** empty log message ***
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/editor/CDOEditor.java1
-rw-r--r--plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/impl/CDOResourceImpl.java6
2 files changed, 5 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/editor/CDOEditor.java b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/editor/CDOEditor.java
index 65c1762..0604159 100644
--- a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/editor/CDOEditor.java
+++ b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/editor/CDOEditor.java
@@ -1581,6 +1581,7 @@ public class CDOEditor extends MultiPageEditorPart implements IEditingDomainProv
}
catch (Exception exception)
{
+ exception.printStackTrace();
resourceToDiagnosticMap.put(resource, analyzeResourceProblems(resource, exception));
}
first = false;
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/impl/CDOResourceImpl.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/impl/CDOResourceImpl.java
index 3836355..f5ea0fe 100644
--- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/impl/CDOResourceImpl.java
+++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/impl/CDOResourceImpl.java
@@ -340,8 +340,10 @@ public class CDOResourceImpl extends CDOObjectImpl implements CDOResource
CDOTransaction transaction = (CDOTransaction)view;
transaction.commit();
}
-
- throw new IOException("CDO view is read only: " + view);
+ else
+ {
+ throw new IOException("CDO view is read only: " + view);
+ }
}
/**