Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2012-06-06 18:19:35 +0000
committerEike Stepper2012-06-06 18:19:35 +0000
commitb48ccc46da60cf75aef219ae635c627fb49d3cf2 (patch)
treee9b226682a58e5d9f90d0f184b7bc8fd0dde99a2 /plugins/org.eclipse.net4j.ui/src/org
parent58d78dc1d9da889f7b57e8825500a40098230bdd (diff)
downloadcdo-b48ccc46da60cf75aef219ae635c627fb49d3cf2.tar.gz
cdo-b48ccc46da60cf75aef219ae635c627fb49d3cf2.tar.xz
cdo-b48ccc46da60cf75aef219ae635c627fb49d3cf2.zip
[381472] Design a repository administration API
https://bugs.eclipse.org/bugs/show_bug.cgi?id=381472
Diffstat (limited to 'plugins/org.eclipse.net4j.ui/src/org')
-rw-r--r--plugins/org.eclipse.net4j.ui/src/org/eclipse/net4j/internal/ui/container/TCPAcceptorWizard.java14
1 files changed, 11 insertions, 3 deletions
diff --git a/plugins/org.eclipse.net4j.ui/src/org/eclipse/net4j/internal/ui/container/TCPAcceptorWizard.java b/plugins/org.eclipse.net4j.ui/src/org/eclipse/net4j/internal/ui/container/TCPAcceptorWizard.java
index 2188e1eda8..6a855cb114 100644
--- a/plugins/org.eclipse.net4j.ui/src/org/eclipse/net4j/internal/ui/container/TCPAcceptorWizard.java
+++ b/plugins/org.eclipse.net4j.ui/src/org/eclipse/net4j/internal/ui/container/TCPAcceptorWizard.java
@@ -13,6 +13,7 @@ package org.eclipse.net4j.internal.ui.container;
import org.eclipse.net4j.internal.tcp.TCPAcceptorFactory;
import org.eclipse.net4j.internal.tcp.TCPAcceptorFactory.Data;
+import org.eclipse.net4j.internal.ui.bundle.OM;
import org.eclipse.net4j.util.factory.ProductCreationException;
import org.eclipse.net4j.util.ui.container.ElementWizard;
import org.eclipse.net4j.util.ui.container.ElementWizardFactory;
@@ -50,9 +51,16 @@ public class TCPAcceptorWizard extends ElementWizard implements ModifyListener
String description = getDefaultDescription();
if (description != null)
{
- Data data = new TCPAcceptorFactory.Data(description);
- addressText.setText(data.getAddress());
- portText.setText(Integer.toString(data.getPort()));
+ try
+ {
+ Data data = new TCPAcceptorFactory.Data(description);
+ addressText.setText(data.getAddress());
+ portText.setText(Integer.toString(data.getPort()));
+ }
+ catch (NoClassDefFoundError error)
+ {
+ OM.LOG.error(error);
+ }
}
}

Back to the top