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
Post a Comment