aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Handle or Handler Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Handle or Handler" Watch "Handle or Handler" New topic
Author

Handle or Handler

Salim Mohamed
Ranch Hand

Joined: Sep 19, 2002
Posts: 55
I have many times come across the word handle or handler while studying java programming book. How can I better understand what handle or handler means ? Thanks in advance.
david eberhardt
Ranch Hand

Joined: Jul 02, 2002
Posts: 158
Originally posted by Salim Mohamed:
I have many times come across the word handle or handler while studying java programming book. How can I better understand what handle or handler means ? Thanks in advance.

Hi Salim;
both words usually refer to "Exception Handling" and so I would suggest you study about Exceptions which is Section 2 of the Java Certification Objectives.
let me give you an example of a "handler":

The words "handle" and "handler" are not Java Keywords or Reserved words. These words are adjectives used to describe what we do with "exceptions" when they happen with the try-catch-finally code blocks.
The catch block is used to "handle" (verb -meaning do something with) an exception. We say that a catch block is a "handler" (noun).
Hope this helps!
 
Don't get me started about those stupid light bulbs.
 
subject: Handle or Handler