Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Create custom Exception Handlers.........

807606May 9 2007 — edited May 10 2007
Hi all,

Iam reading a txt file, writing it into an object and deserializing the object.

I handled the following exceptions:

1.Array out of bounds
2.null Pointer
3.Number Format
4.IO exception
5.File not found
5.Class not found Exception

Now i have to create few custom exceptions which iam not aware of......

can anyone just give me examples of a few custom handled exceptions???
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 7 2007
Added on May 9 2007
20 comments
400 views