public function __construct($bankCode, $code = 0, Exception $previous = null) { $message = sprintf("Payment method with code '%s' was not found", $bankCode); parent::__construct($message, $code, $previous); }