ObjectInputStream throws IOException


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: ObjectInputStream throws IOException

  1. #1
    Join Date
    Jan 2007
    Posts
    2

    ObjectInputStream throws IOException

    AA,
    Dear All,
    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...

  2. #2
    Join Date
    Jan 2007
    Posts
    2
    Why is the IOException thrown? This is the actual question.

Similar Threads

  1. Java RMI Client AccessControlException
    By ally153 in forum Java
    Replies: 1
    Last Post: 03-27-2006, 08:00 AM
  2. Replies: 0
    Last Post: 01-23-2006, 07:13 PM
  3. Replies: 1
    Last Post: 11-04-2005, 08:58 AM
  4. calculating Pi w/ dart throws
    By braindead in forum C++
    Replies: 1
    Last Post: 07-27-2005, 07:51 AM
  5. NullPointerException when reading text file
    By Andrew McLellan in forum Java
    Replies: 3
    Last Post: 05-09-2001, 05:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center