Women in Technology

Hear us Roar



Article:
  What I Hate About Your Programming Language
Subject:   You *CAN* ignore checked exceptions in Java
Date:   2003-05-14 11:56:07
From:   anonymous2
Response to: You *CAN* ignore checked exceptions in Java

I think the point is that you're not "ignoring" exceptions when you have to include the phrase "throws Exception" in every method up the stack.
Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • You *CAN* ignore checked exceptions in Java
    2003-05-14 14:25:23  anonymous2 [View]

    Sorry, I don't write Java (yet).
    But either one wants an implicit exception handler to percolate the exception (fi the ILE language compilers on the IBM AS/400) and thus one has to 'steal back' the exception one does want to catch or one has (must) to tell the compiler that one likes to pass the exception up. Either way you'll need to specify what you want.
    If compilers were smart enough to read the mind there was no need to do any coding at all. (Oops, just told you my favorite programming language)


    Of course, maybe this isn't a philosophical thread.