reading object

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • abholi
    New Member
    • Nov 2008
    • 1

    reading object

    i want to read an object contents from a file in actionPerformed method. However it shows error related to IOException and ClassNotfoundEx ception . i cant throw these exceptions in actionPerformed method. So what shoild i do?
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Do you know what is causing those exceptions then?

    Comment

    • Nepomuk
      Recognized Expert Specialist
      • Aug 2007
      • 3111

      #3
      Your question is a bit vague - could you show us, where the Exceptions are thrown?

      Of course, if you just don't know how to handle Exceptions, you may want to read my article about them, especially Chapter 2: How to handle Exceptions and Chapter 5: An Example of how to use Exceptions could prove useful to you.

      The solution to your problem would probably be to catch those exceptions and then give some other feedback.

      Greetings,
      Nepomuk

      Comment

      Working...