• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Handle or Handler

 
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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!
 
reply
    Bookmark Topic Watch Topic
  • New Topic