Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/facet/org.eclipse.papyrus.emf.facet.util.emf.ui/src/org/eclipse/emf/facet/util/emf/ui/internal/exported/util/wizard/page/exception/SelectedEPackageRuntimeException.java')
-rw-r--r--plugins/facet/org.eclipse.papyrus.emf.facet.util.emf.ui/src/org/eclipse/emf/facet/util/emf/ui/internal/exported/util/wizard/page/exception/SelectedEPackageRuntimeException.java41
1 files changed, 41 insertions, 0 deletions
diff --git a/plugins/facet/org.eclipse.papyrus.emf.facet.util.emf.ui/src/org/eclipse/emf/facet/util/emf/ui/internal/exported/util/wizard/page/exception/SelectedEPackageRuntimeException.java b/plugins/facet/org.eclipse.papyrus.emf.facet.util.emf.ui/src/org/eclipse/emf/facet/util/emf/ui/internal/exported/util/wizard/page/exception/SelectedEPackageRuntimeException.java
new file mode 100644
index 00000000000..0c8f96d705e
--- /dev/null
+++ b/plugins/facet/org.eclipse.papyrus.emf.facet.util.emf.ui/src/org/eclipse/emf/facet/util/emf/ui/internal/exported/util/wizard/page/exception/SelectedEPackageRuntimeException.java
@@ -0,0 +1,41 @@
+/**
+ * Copyright (c) 2012 Mia-Software.
+ *
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Alban Ménager (Soft-Maint) - Bug 387470 - [EFacet][Custom] Editors
+ */
+package org.eclipse.emf.facet.util.emf.ui.internal.exported.util.wizard.page.exception;
+
+/**
+ * Exception when the list (where the selection has to be done) is not totally
+ * loaded.
+ *
+ * @since 0.3
+ */
+public class SelectedEPackageRuntimeException extends RuntimeException {
+
+ private static final long serialVersionUID = -5317379187255054199L;
+
+ public SelectedEPackageRuntimeException() {
+ super(
+ "List not totally loaded. Check if the list's job is done before doing the selection."); //$NON-NLS-1$
+ }
+
+ public SelectedEPackageRuntimeException(final String message) {
+ super(message);
+ }
+
+ public SelectedEPackageRuntimeException(final String message,
+ final Throwable cause) {
+ super(message, cause);
+ }
+
+ public SelectedEPackageRuntimeException(final Throwable cause) {
+ super(cause);
+ }
+}

Back to the top