[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



J.M. Taylor wrote:

>Excellent. That works beautifully, or at least, it compiles. :)
>Where can I read something that explains decently what's going on with 
>exceptions, do you know?  It's certainly not a concept I'm familiar with, 
>and everything I read just says "do this to catch an exception" which 
>doesn't tell me _what_ I'm trying to do, or why, or what's actually going 
>on when I do it.
>
>Thank you thank you thank you
>jenn
>
>
>On Thu, 8 Apr 2004, Denny Chambers wrote:
>
>  
>
>>BTW, the reason it working in main, is because main say it will throw 
>>java.io.IOException, so you are not required to do the try/catch if your 
>>going to throw it up a layer. You have also add the "throws 
>>java.io.IOException" clause to doMergeSort and everything would have 
>>been fine.
>>
>>Denny Chambers wrote:
>>
>>    
>>
>>>ahh ok i see
>>>
>>>try{
>>>FileReader fr = new FileReader("file1");
>>>}
>>>catch(FileNotFoundException fnfe){
>>>//handle exception
>>>}
>>>      
>>>
>
>
>_______________________________________________
>Ale mailing list
>Ale at ale.org
&gt;<a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt;
&gt;
&gt;  
&gt;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3190 bytes
Desc: S/MIME Cryptographic Signature



</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00294" href="msg00294.html">[ale] OT: java filereader question</a></strong>
<ul><li><em>From:</em> jtaylor at onlinea.com (J.M. Taylor)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00294.html">[ale] OT: java filereader question</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00297.html">[ale] email aliases and wildcards</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00294.html">[ale] OT: java filereader question</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00328.html">[ale] OT: java filereader question</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00295"><strong>Date</strong></a></li>
<li><a href="threads.html#00295"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>