summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormclay2009-02-11 15:15:27 (EST)
committer sefftinge2009-02-11 15:15:27 (EST)
commit3f97ed897e7ab30c87224bbe35ff05f0bc741736 (patch)
tree49d78e512d913aab87d3ade601f4699ee83b1768
parent16b1acda59ce6fd885d62ceea6f5520b0d3dadad (diff)
downloadorg.eclipse.xtext-3f97ed897e7ab30c87224bbe35ff05f0bc741736.zip
org.eclipse.xtext-3f97ed897e7ab30c87224bbe35ff05f0bc741736.tar.gz
org.eclipse.xtext-3f97ed897e7ab30c87224bbe35ff05f0bc741736.tar.bz2
fix: javadoc
-rw-r--r--examples/org.eclipse.xtext.example.ecoredsl.ui/src/org/eclipse/xtext/example/handler/GenerateEcoreDslHandler.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/examples/org.eclipse.xtext.example.ecoredsl.ui/src/org/eclipse/xtext/example/handler/GenerateEcoreDslHandler.java b/examples/org.eclipse.xtext.example.ecoredsl.ui/src/org/eclipse/xtext/example/handler/GenerateEcoreDslHandler.java
index 05585a7..f0bc9a1 100644
--- a/examples/org.eclipse.xtext.example.ecoredsl.ui/src/org/eclipse/xtext/example/handler/GenerateEcoreDslHandler.java
+++ b/examples/org.eclipse.xtext.example.ecoredsl.ui/src/org/eclipse/xtext/example/handler/GenerateEcoreDslHandler.java
@@ -8,7 +8,6 @@
*******************************************************************************/
package org.eclipse.xtext.example.handler;
-import java.io.IOException;
import java.util.List;
import org.eclipse.core.commands.AbstractHandler;
@@ -16,7 +15,6 @@ import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.core.expressions.EvaluationContext;
import org.eclipse.core.resources.IFile;
-import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.EObject;
@@ -55,13 +53,9 @@ public class GenerateEcoreDslHandler extends AbstractHandler {
poResource.save(null);
ecoreFile.getParent().refreshLocal(1, new NullProgressMonitor());
}
- catch (IOException e) {
+ catch (Exception e) {
e.printStackTrace();
}
- catch (CoreException e) {
- e.printStackTrace();
- }
-
return null;
}