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 C++ Coding Standard
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 C++ Coding Standard
2 Rules
Rule 08. Exceptions and Error Handling (ERR)
Page Information
Title:
Rule 08. Exceptions and Error Handling (ERR)
Author:
Aaron Ballman
Sep 30, 2014
Last Changed by:
David Svoboda
Mar 15, 2022
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/A3s-BQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT C++ Coding Standard (1)
Page:
How this Coding Standard Is Organized
Hierarchy
Parent Page
Page:
2 Rules
Children (13)
Page:
ERR50-CPP. Do not abruptly terminate the program
Page:
ERR51-CPP. Handle all exceptions
Page:
ERR52-CPP. Do not use setjmp() or longjmp()
Page:
ERR53-CPP. Do not reference base classes or class data members in a constructor or destructor function-try-block handler
Page:
ERR54-CPP. Catch handlers should order their parameter types from most derived to least derived
Page:
ERR55-CPP. Honor exception specifications
Page:
ERR56-CPP. Guarantee exception safety
Page:
ERR57-CPP. Do not leak resources when handling exceptions
Page:
ERR58-CPP. Handle all exceptions thrown before main() begins executing
Page:
ERR59-CPP. Do not throw an exception across execution boundaries
Show all...
Page:
ERR60-CPP. Exception objects must be nothrow copy constructible
Page:
ERR61-CPP. Catch exceptions by lvalue reference
Page:
ERR62-CPP. Detect errors when converting a string to a number
Hide...
Labels
Global Labels (4)
rule-list
rule
err
section
Recent Changes
Time
Editor
Mar 15, 2022 09:45
David Svoboda
View Changes
Nov 14, 2019 15:08
Matthew Churilla
View Changes
Dec 03, 2018 15:24
Derek Leung
View Changes
Nov 16, 2017 14:42
Will Snavely
View Changes
Nov 16, 2017 14:22
Will Snavely
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 C++ Coding Standard (2)
Page:
Rules from C
Home page:
SEI CERT C++ Coding Standard
Overview
Content Tools
{"serverDuration": 187, "requestCorrelationId": "23d4da8c389d5480"}