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? I've searched and
> can't find any information on it. I'm probablly not doing the correct
> search due to my ignorance. I'd like to know what all the code does.
>
> 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.

--~--~---------~--~----~------------~-------~--~----~
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