On Thu, Jun 25, 2009 at 4:05 PM, * ^ * <[email protected]> wrote:

>
> On Jun 15, 5:36 am, "function(phil)" <[email protected]> wrote:
> > Howdy all. Can anyone provide a link to what the "e" parameter does as
> > used in the try-catch code block from Lab 1004?
> > Thanks and here is the code.
> >
> > catch(IOException e) {
> >     System.out.println("Error!");
> It is an 'exception handler'. It catches an exception of the specified
> type and handles it accordingly. In this case, it catches an
> IOException, then prints a string to system out. This is covered
> within this course, in the lesson:Exception Handling.
>

What "e" doses? It is just a parameter that will hold any exception
(IOException) throwed by your program. I think you should read more material
related to exception handling.
HTH

Good luck Phil.


-- 
==================
Blog:
Catatan Online ghaNOZ 2480
http://ghanoz2480.wordpress.com

Facebook:
http://www.facebook.com/ghanoz2480
==================
ghaNOZ 2480

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to