Commit 073d5391 authored by legoc's avatar legoc

Adapted to NomadCommandSystem

parent d82df947
......@@ -40,6 +40,12 @@
<dependencies>
<dependency>
<groupId>com.interactivemesh</groupId>
<artifactId>stlmeshimporter</artifactId>
<version>0.7.0</version>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-base</artifactId>
......@@ -58,8 +64,12 @@
<version>14.0.1</version>
</dependency>
<!-- <dependency> <groupId>fr.ill.ics</groupId> <artifactId>nomadcommandsystem</artifactId>
<version>4.0.19</version> </dependency> -->
<dependency>
<groupId>fr.ill.ics</groupId>
<artifactId>nomadcommandsystem</artifactId>
<version>4.0.36</version>
</dependency>
<dependency>
<groupId>org.zeroturnaround</groupId>
<artifactId>zt-zip</artifactId>
......
......@@ -10,6 +10,8 @@ import fr.ill.ics.bridge.LoginManager;
import fr.ill.ics.bridge.LoginManager.ClientAlreadyLaunchedException;
import fr.ill.ics.bridge.LoginManager.ConnectionFailure;
import fr.ill.ics.bridge.LoginManager.LoginIncorrectException;
import fr.ill.ics.bridge.LoginManager.MultipleClientsPerEndpointNotAllowedException;
import fr.ill.ics.bridge.LoginManager.MultipleConnectionsPerUserNotAllowedException;
import fr.ill.ics.bridge.command.CommandZoneWrapper;
import fr.ill.ics.cameo.Application;
import fr.ill.ics.core.property.PropertyManager;
......@@ -156,7 +158,7 @@ public class NomadLinker {
loginState = LOGIN_OK;
} catch (LoginIncorrectException e) {
loginState = LOGIN_NOT_OK;
} catch (ClientAlreadyLaunchedException e) {
} catch (MultipleClientsPerEndpointNotAllowedException | MultipleConnectionsPerUserNotAllowedException e) {
loginState = LOGIN_REFUSED;
} catch (ConnectionFailure e) {
Platform.exit();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment