[algorithms.parallel.exceptions] # 26 Algorithms library [[algorithms]](./#algorithms) ## 26.3 Parallel algorithms [[algorithms.parallel]](algorithms.parallel#exceptions) ### 26.3.4 Parallel algorithm exceptions [algorithms.parallel.exceptions] [1](#1) [#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/algorithms.tex#L586) During the execution of a parallel algorithm, if temporary memory resources are required for parallelization and none are available, the algorithm throws a bad_alloc exception[.](#1.sentence-1) [2](#2) [#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/algorithms.tex#L591) During the execution of a parallel algorithm, if the invocation of an element access function exits via an uncaught exception, the behavior is determined by the execution policy[.](#2.sentence-1)