...
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
Related Guidelines
MITRE CWE: | CWE ID 230 "Improper Handling of Missing Values" |
...
| CWE ID 232 "Improper Handling of Undefined Values" |
...
| CWE ID 690 "Unchecked Return Value to NULL Pointer Dereference" |
...
| CWE ID 395 "Use of NullPointerException Catch to Detect NULL Pointer Dereference" |
...
CWE ID 396 "Declaration of Catch for Generic Exception" |
...
| CWE ID 7 "J2EE Misconfiguration: Missing Custom Error Page" |
...
| CWE ID 537 "Information Exposure Through Java Runtime Error Message" |
...
| CWE ID 536 "Information Exposure Through Servlet Runtime Error Message" |
The Elements of Java Style: | Rule 87: Do not silently absorb a run-time or error exception |
Bibliography
<ac:structured-macro ac:name="unmigrated-wiki-markup |
...
" ac:schema-version="1" ac:macro-id="cd718e63-f075-4e88-9506-6372b28fb693"><ac:plain-text-body><![CDATA[ | [[Cunningham 1995 | AA. Bibliography#Cunningham 95]] |
| ]]></ac:plain-text-body></ac:structured-macro> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="9d6f1f35-8c3e-4b45-bf35-38be06f8142c"><ac:plain-text-body><![CDATA[ | [[Doshi 2003 | AA. Bibliography#Doshi 03]] |
| ]]></ac:plain-text-body></ac:structured-macro> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="af658f5f-439e-47af-93fc-5c24beff9aca"><ac:plain-text-body><![CDATA[ | [[Grand 2002 | AA. Bibliography#Grand 02]] | Chapter 8, Behavioral patterns, the Null Object | ]]></ac:plain-text-body></ac:structured-macro> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b64a6431-e646-44f2-89bb-c2443b52cb6a"><ac:plain-text-body><![CDATA[ | [[Henney 2003 | AA. Bibliography#Henney 03]] |
| ]]></ac:plain-text-body></ac:structured-macro> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="1a72d567-5acd-4821-93a9-62dd9f60d4ee"><ac:plain-text-body><![CDATA[ | [[JLS 2005 | AA. Bibliography#JLS 05]] | [Chapter 11, Exceptions | http://java.sun.com/docs/books/jls/third_edition/html/exceptions.html] | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="cafabb9e-a43b-41c2-92ea-af75f30c1a69"><ac:plain-text-body><![CDATA[ | [[J2SE 2011 | AA. Bibliography#J2SE 11]] | Catching Multiple Exception Types and Rethrowing Exceptions with Improved Type Checking | ]]></ac:plain-text-body></ac:structured-macro> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="009cf57f-78b1-4d19-9cff-a377568dd3ea"><ac:plain-text-body><![CDATA[ | [[Muller 2002 | AA. Bibliography#Muller 02]] |
| ]]></ac:plain-text-body></ac:structured-macro> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="97e2e6bf-3135-429d-b88e-38e617da4559"><ac:plain-text-body><![CDATA[ | [[Schweisguth 2003 | AA. Bibliography#Schweisguth 03]] |
| ]]></ac:plain-text-body></ac:structured-macro> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="3eada723-6ef7-43bf-b73b-fb78204cc750"><ac:plain-text-body><![CDATA[ | [[Tutorials 2008 | AA. Bibliography#tutorials 08]] | [Exceptions | http://java.sun.com/docs/books/tutorial/essential/exceptions/index.html] | ]]></ac:plain-text-body></ac:structured-macro> |
...
ERR13-J. Do not throw RuntimeException 06. Exceptional Behavior (ERR) void ERR15-J. Do not catch NullPointerException