Commit 7f6372ad authored by Nicolas Gilmard's avatar Nicolas Gilmard
Browse files

Correct issue #16

uncomment line 110
parent 9bacf6b6
......@@ -110,30 +110,30 @@ public abstract class TangibleApplication {
} catch (InstantiationException e) {
logger.log(Level.SEVERE, "Cannot instantiate adapter.\n" //$NON-NLS-1$
+ "You try to instantiate an abstract class or an interface!"); //$NON-NLS-1$s
System.exit(0);
System.exit(42);
} catch (IllegalAccessException e) {
logger.log(Level.SEVERE, "The currently executing method does not have access to the definition of the constructor."); //$NON-NLS-1$
System.exit(0);
System.exit(42);
} catch (IllegalArgumentException e) {
logger.log(Level.SEVERE, "A wrong argument has been passed to the adapter."); //$NON-NLS-1$
System.exit(0);
System.exit(42);
} catch (InvocationTargetException e) {
logger.log(Level.SEVERE, "An exception has been thrown in the constructor of the adapter"); //$NON-NLS-1$
System.exit(0);
System.exit(42);
} catch (NoSuchMethodException e) {
logger.log(Level.SEVERE, "The called method was not found"); //$NON-NLS-1$
System.exit(0);
System.exit(42);
} catch (SecurityException e) {
logger.log(Level.SEVERE, "Security violation"); //$NON-NLS-1$
System.exit(0);
System.exit(42);
} catch (ClassNotFoundException e) {
logger.log(Level.SEVERE, "The class " + properties.getProperty("tableAdapter") + "was not found."); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
System.exit(0);
System.exit(42);
}
......
......@@ -107,7 +107,7 @@ public class TuioAdapter extends TuiAdapter implements TuioListener {
*/
@Override
public void disconnect() {
// client.removeAllTuioListeners();
client.removeAllTuioListeners();
client.disconnect();
}
......
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