aspose file tools
The moose likes Beginning Java and the fly likes regarding serialization Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "regarding serialization" Watch "regarding serialization" New topic
Author

regarding serialization

Raj Kumar Bindal
Ranch Hand

Joined: Apr 15, 2006
Posts: 409
please tell me answer of following:
1. What is the most complete set of exceptions that can be thrown when reading a serialized object?
A. IOException
B. ClassNotFoundException, SerialziableException
C. SerialziableException
D. ClassNotFoundException, InvalidClassException, StreamCorruptedException, OptionalDataException, and IOException
E. IOException, SerializableException



2.What is the most complete set of exceptions that can be thrown when serializing an object?
A. IOException
B. ClassNotFoundException, NotSerializableException
C. NotSerializableException
D. ClassNotFoundException, InvalidClassException, NotSerializableException, OptionalDataException, and IOException
E. InvalidClassException, IOException, NotSerializableException
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6592
    
    1

Where did you find this question ? Looking up on the java docs for these exceptions should give you a good idea about why and when they are thrown


SCJP 6 articles - SCJP 5/6 mock exams - SCJP Mocks - SCJP 5 Mock exam (Word document ) - SCJP 5 Mock exam in Java.Inquisition format
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: regarding serialization
 
Similar Threads
is always API correct?
some doubts
Checked Expceptions
Question on NotSerializableException
serialization