Skip to main content
assistive.skiplink.to.breadcrumbs
assistive.skiplink.to.header.menu
assistive.skiplink.to.action.menu
assistive.skiplink.to.quick.search
Log in
Confluence
Spaces
Hit enter to search
Help
Online Help
Keyboard Shortcuts
Feed Builder
What’s new
Available Gadgets
About Confluence
Log in
SEI CERT Oracle Coding Standard for Java
Pages
Boards
Space shortcuts
Dashboard
Secure Coding Home
Android
C
C++
Java
Perl
Page tree
Browse pages
Configure
Space tools
View Page
A
t
tachments (0)
Page History
Page Information
View in Hierarchy
View Source
Export to PDF
Export to Word
Pages
…
SEI CERT Oracle Coding Standard for Java
2 Rules
Rule 07. Exceptional Behavior (ERR)
Page Information
Title:
Rule 07. Exceptional Behavior (ERR)
Author:
Dhruv Mohindra
Jul 20, 2008
Last Changed by:
David Svoboda
Mar 15, 2022
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/8TZGBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT Oracle Coding Standard for Java (8)
Page:
Rules versus Recommendations (Java)
Page:
ERR01-J. Do not allow exceptions to expose sensitive information
Page:
ERR03-J. Restore prior object state on method failure
Page:
ERR09-J. Do not allow untrusted code to terminate the JVM
Page:
ERR02-J. Prevent exceptions while logging data
Page:
ERR08-J. Do not catch NullPointerException or any of its ancestors
Page:
ERR07-J. Do not throw RuntimeException, Exception, or Throwable
Page:
ERR06-J. Do not throw undeclared checked exceptions
Hierarchy
Parent Page
Page:
2 Rules
Children (10)
Page:
ERR00-J. Do not suppress or ignore checked exceptions
Page:
ERR01-J. Do not allow exceptions to expose sensitive information
Page:
ERR02-J. Prevent exceptions while logging data
Page:
ERR03-J. Restore prior object state on method failure
Page:
ERR04-J. Do not complete abruptly from a finally block
Page:
ERR05-J. Do not let checked exceptions escape from a finally block
Page:
ERR06-J. Do not throw undeclared checked exceptions
Page:
ERR07-J. Do not throw RuntimeException, Exception, or Throwable
Page:
ERR08-J. Do not catch NullPointerException or any of its ancestors
Page:
ERR09-J. Do not allow untrusted code to terminate the JVM
Labels
Global Labels (3)
rule-list
err
section
Recent Changes
Time
Editor
Mar 15, 2022 09:46
David Svoboda
View Changes
Mar 11, 2020 12:55
David Svoboda
View Changes
Nov 21, 2018 14:11
Derek Leung
View Changes
Nov 20, 2018 14:34
Derek Leung
View Changes
Nov 20, 2018 13:50
Derek Leung
View Page History
Outgoing Links
External Links (3)
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
SEI CERT Oracle Coding Standard for Java (1)
Home page:
SEI CERT Oracle Coding Standard for Java
Overview
Content Tools
{"serverDuration": 79, "requestCorrelationId": "fead4e7ef86a3134"}