aspose file tools*
The moose likes Java in General and the fly likes catch and try Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "catch and try" Watch "catch and try" New topic
Author

catch and try

T sandya
Ranch Hand

Joined: Aug 03, 2006
Posts: 64
can we write catch and try blocks inside catch block.
Ajay Singh
Ranch Hand

Joined: Dec 13, 2006
Posts: 182
sure, its allowed
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14273
    
  21

For simple questions like this, it's best to try it out yourself. That way you not only get an answer to your question, but you also learn more about how Java works. You learn a lot by experimenting, trying things out.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: catch and try