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)
ERR50-CPP. Do not abruptly terminate the program
Page Information
Title:
ERR50-CPP. Do not abruptly terminate the program
Author:
David Svoboda
May 19, 2009
Last Changed by:
Jill Britton
Apr 20, 2023
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/-Hs-BQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT C++ Coding Standard (8)
Page:
ERR55-CPP. Honor exception specifications
Page:
FIO51-CPP. Close files when they are no longer needed
Page:
ERR51-CPP. Handle all exceptions
Page:
ERR58-CPP. Handle all exceptions thrown before main() begins executing
Page:
ERR56-CPP. Guarantee exception safety
Page:
DCL57-CPP. Do not let exceptions escape from destructors or deallocation functions
Page:
MEM52-CPP. Detect and handle memory allocation errors
Page:
ERR60-CPP. Exception objects must be nothrow copy constructible
Hierarchy
Parent Page
Page:
Rule 08. Exceptions and Error Handling (ERR)
Labels
Global Labels (8)
review-dms
cwe-754
nptc
review
rule
review-ajb
err
nptc-complexity
Recent Changes
Time
Editor
Apr 20, 2023 04:47
Jill Britton
View Changes
Apr 27, 2022 09:23
Jill Britton
View Changes
Dec 09, 2021 09:46
Jill Britton
View Changes
Jul 06, 2021 09:10
David Svoboda
View Changes
Jul 02, 2021 18:55
David Svoboda
View Page History
Outgoing Links
External Links (12)
https://wiki.sei.cmu.edu/confluence/display/cplusplus/PVS-S…
https://wiki.sei.cmu.edu/confluence/display/cplusplus/Polys…
cwe.mitre.org/
https://pvs-studio.com/en/docs/warnings/v667/
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://www.securecoding.cert.org/confluence/display/cplusp…
https://pvs-studio.com/en/docs/warnings/v2014/
https://www.sonarsource.com/products/codeanalyzers/sonarcfa…
https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
https://www.mathworks.com/help/bugfinder/ref/certcerr50cpp.…
cwe.mitre.org/data/definitions/754.html
SEI CERT C++ Coding Standard (23)
Page:
Ldra_V
Page:
BB. Definitions
Page:
Helix QAC_V
Page:
ERR55-CPP. Honor exception specifications
Page:
Helix QAC
Home page:
SEI CERT C++ Coding Standard
Page:
Parasoft
Page:
ERR60-CPP. Exception objects must be nothrow copy constructible
Page:
Polyspace Bug Finder_V
Page:
ERR51-CPP. Handle all exceptions
Page:
LDRA
Page:
AA. Bibliography
Page:
CodeSonar
Page:
DCL57-CPP. Do not let exceptions escape from destructors or deallocation functions
Page:
CodeSonar_V
Page:
Astrée_V
Page:
RuleChecker
Page:
Astrée
Page:
RuleChecker_V
Page:
PVS-Studio_V
Page:
ERR58-CPP. Handle all exceptions thrown before main() begins executing
Page:
Klocwork_V
Page:
Parasoft_V
Overview
Content Tools
{"serverDuration": 103, "requestCorrelationId": "3355cf560cc5a0cc"}