Highway to PSR2
[openemr.git] / interface / product_registration / exceptions / duplicate_registration_exception.php
blob1679073f2149ecae49ad7ae0ff06ed041e9f0ef7
1 <?php
2 /**
3 * DuplicateRegistrationException
5 * LICENSE: This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://opensource.org/licenses/gpl-license.php>;.
16 * @package OpenEMR
17 * @author Matthew Vita <matthewvita48@gmail.com>
18 * @link http://www.open-emr.org
21 class DuplicateRegistrationException extends Exception
23 public function errorMessage()
25 return $this->getMessage();