...
Wiki Markup |
---|
\[[Doshi 2003|AA. Bibliography#Doshi 03]\] \[[JLS 2005|AA. Bibliography#JLS 05]\] [Chapter 11, Exceptions|http://java.sun.com/docs/books/jls/third_edition/html/exceptions.html] \[[MITRE 2009|AA. Bibliography#MITRE 09]\] [CWE ID 396|http://cwe.mitre.org/data/definitions/396.html] "Declaration of Catch for Generic Exception", [CWE ID 7|http://cwe.mitre.org/data/definitions/7.html] "J2EE Misconfiguration: Missing Error Handling", [CWE ID 537|http://cwe.mitre.org/data/definitions/537.html] "Information Leak Through Java Runtime Error Message", [CWE ID 536|http://cwe.mitre.org/data/definitions/536.html] "Information Leak Through Servlet Runtime Error Message" \[[Muller 2002|AA. Bibliography#Muller 02]\] \[[Rogue 2000|AA. Bibliography#Rogue 2000]\] Rule 87: Do not silently absorb a run-time or error exception \[[Schweisguth 2003|AA. Bibliography#Schweisguth 03]\] \[[Tutorials 2008|AA. Bibliography#tutorials 08]\] Exceptions|http://java.sun.com/docs/books/tutorial/essential/exceptions/index.html] |
...
ERR13-J. Throw specific exceptions rather than the more general RuntimeException or ExceptionDo not throw RuntimeException 06. Exceptional Behavior (ERR) ERR15-J. Do not catch NullPointerException