protected void disable() {
   try {
     registry.unbind("Server");
   } catch (RemoteException | NotBoundException e) {
     catcher.catchException(e);
   }
 }
 public RmiServer() {
   try {
     IRmiServer server = (IRmiServer) UnicastRemoteObject.exportObject(this, 0);
     registry = LocateRegistry.createRegistry(16666);
     registry.bind("Server", server);
   } catch (RemoteException | AlreadyBoundException e) {
     catcher.catchException(e);
   }
 }