Women in Technology

Hear us Roar

  What I Hate About Your Programming Language
Subject:   Java + Exceptions
Date:   2003-05-14 01:51:55
From:   anonymous2
Response to: Java + Exceptions

You can ignore them. Just say

void blabla(blabla) throws AnExceptionIWantToIgnore {
and you can ignore the exception inside "moreblabla" ...

Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • Java + Exceptions
    2003-05-14 08:52:08  anonymous2 [View]

    That isn't what the author (or others) are advocating.

    void foo()
    catch(IOException ex)
    throw new RuntimeException(ex);

    Now you can totaly ignore it.

    This is a terrible way to program.