java - iRuntimeExceptions are considered as fault or failure? -


i writing technical paper , not sure whether write them fault or failure. because far know fault error programmer. fault/error may or may not crash program. if fault crash program failure. question if divisionbyzero exception, should write fault or failure? thanks

i suggest categorize error/exception.

exception can handled , of 2 types :

  • checked handle exception in method using try/catch/finally
  • unchecked make caller handle using throws statement.

you cannot implicitly handle errors in program


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -

php - Accessing static methods using newly created $obj or using class Name -