File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 13869
    
  10

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 7 API documentation
Scala Notes - My blog about Scala
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: catch and try
 
Similar Threads
Serializable Problem
handling error when using jsp:include
WA #1.....word association
What is life
NullPointerException, but no root cause