Merge pull request #14956 from eileenmcnaughton/mem_auto
[civicrm-core.git] / CRM / Contribute / Exception / CheckLineItemsException.php
CommitLineData
e122e55d
TO
1<?php
2
3/**
4 * Class CRM_Contribute_Exception_CheckLineItemsException
5 */
6class CRM_Contribute_Exception_CheckLineItemsException extends API_Exception {
7 const LINE_ITEM_DIFFERRING_TOTAL_EXCEPTON_MSG = "Line item total doesn't match with total amount.";
8
9 public function __construct($message = self::LINE_ITEM_DIFFERRING_TOTAL_EXCEPTON_MSG, $error_code = 0, array $extraParams = [], $previous = NULL) {
10 parent::__construct($message, $error_code, $extraParams, $previous);
11 }
12
13}