[REF] Replace some instances of fatal with thrown exceptions.
authoreileen <emcnaughton@wikimedia.org>
Sun, 7 Jun 2020 04:59:24 +0000 (16:59 +1200)
committereileen <emcnaughton@wikimedia.org>
Mon, 8 Jun 2020 00:49:57 +0000 (12:49 +1200)
commitba968e38bdaccf8b9a2780e9c555f8dff7e48bcb
treea271fe31a1586ac26051a0b16da8e3511eadccae
parent0a83e293d2178af2ec1705b8712bcf67884df2b4
[REF] Replace some instances of fatal with thrown exceptions.

This is ongoing cleanup to consisently throw execptions. The only thing notable is in the OG class where
it turned out the exception was thrown if a never-passed-in-parameter was passed in, so I removed the
construct
CRM/Bridge/OG/CiviCRM.php
CRM/Bridge/OG/Drupal.php
CRM/Bridge/OG/Utils.php
CRM/Extension/Manager/Payment.php
CRM/Extension/Manager/Search.php
CRM/Financial/BAO/FinancialType.php
CRM/PCP/BAO/PCP.php
CRM/Pledge/BAO/Pledge.php
CRM/Pledge/BAO/PledgeBlock.php
CRM/Price/BAO/PriceSet.php
tests/phpunit/CRM/Financial/BAO/FinancialTypeTest.php