when I compile the below command everything is fine, but it throws an IOException while running the program.
The problem is not in catching the exception. The problem is that so I'll not be able create an instance of ObjectInputStream.
By the way the incoming is Socket and it's not null (I've checked that).
ObjectInputStream inputData = new ObjectInputStream(incoming.getInputStream());
I hope I was clear
Waiting for replies...