|
|
@ -17,6 +17,7 @@ import com.fr.design.i18n.Toolkit; |
|
|
|
import com.fr.design.layout.FRGUIPaneFactory; |
|
|
|
import com.fr.design.layout.FRGUIPaneFactory; |
|
|
|
import com.fr.design.layout.TableLayoutHelper; |
|
|
|
import com.fr.design.layout.TableLayoutHelper; |
|
|
|
import com.fr.design.scrollruler.ModLineBorder; |
|
|
|
import com.fr.design.scrollruler.ModLineBorder; |
|
|
|
|
|
|
|
import com.fr.license.exception.RegistEditionException; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
import com.fr.third.guava.base.Strings; |
|
|
|
import com.fr.third.guava.base.Strings; |
|
|
@ -564,6 +565,9 @@ public class RemoteEnvPane extends BasicBeanPane<RemoteDesignerWorkspaceInfo> { |
|
|
|
return TestConnectionResult.parse(WorkContext.getConnector().testConnection(connection), connection); |
|
|
|
return TestConnectionResult.parse(WorkContext.getConnector().testConnection(connection), connection); |
|
|
|
} catch (WorkspaceAuthException ignored) { |
|
|
|
} catch (WorkspaceAuthException ignored) { |
|
|
|
return AUTH_FAILED; |
|
|
|
return AUTH_FAILED; |
|
|
|
|
|
|
|
} catch (RegistEditionException e) { |
|
|
|
|
|
|
|
FineLoggerFactory.getLogger().error(e.getMessage(), e); |
|
|
|
|
|
|
|
throw e; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|