N
Nancy.Nicole
Everytime I try to connect with the server via RMI I get stuck in
catch().
try
{
GarageServerImpl g = new GarageServerImpl();
Naming.rebind("Serve", g); // sets the handle
System.out.println("GarageServer started and " +
"awaiting connections.");
}
catch (RemoteException er)
{
System.out.println(
"Exception in GarageServer.main: " + er);
}
catch (Exception err)
{
System.out.println(
"Exception occurred: " + err);
}
}
Help? I don't know how to fix...
catch().
try
{
GarageServerImpl g = new GarageServerImpl();
Naming.rebind("Serve", g); // sets the handle
System.out.println("GarageServer started and " +
"awaiting connections.");
}
catch (RemoteException er)
{
System.out.println(
"Exception in GarageServer.main: " + er);
}
catch (Exception err)
{
System.out.println(
"Exception occurred: " + err);
}
}
Help? I don't know how to fix...