Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
framework
Exception
BulkException.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Framework\Exception
;
8
9
use
Magento\Framework\Phrase
;
10
16
class
BulkException
extends
AbstractAggregateException
17
{
21
private
$data;
22
33
public
function
__construct
(
Phrase
$phrase
=
null
, \Exception $cause =
null
,
$code
= 0)
34
{
35
if
(
$phrase
===
null
) {
36
$phrase
=
new
Phrase
(
'One or more input exceptions have occurred while processing bulk.'
);
37
}
38
parent::__construct(
$phrase
, $cause,
$code
);
39
}
40
44
public
function
addData
($data)
45
{
46
$this->data = $data;
47
}
48
52
public
function
getData
()
53
{
54
return
$this->data;
55
}
56
}
Magento\Framework\Exception\BulkException\addData
addData($data)
Definition:
BulkException.php:44
Magento\Framework\Exception\LocalizedException\$phrase
$phrase
Definition:
LocalizedException.php:22
Magento\Framework\Exception\BulkException\getData
getData()
Definition:
BulkException.php:52
Magento\Framework\Exception
Definition:
AbstractAggregateException.php:7
Magento\Framework\Exception\BulkException
Definition:
BulkException.php:16
Magento\Framework\Exception\AbstractAggregateException
Definition:
AbstractAggregateException.php:15
Magento\Framework\Exception\BulkException\__construct
__construct(Phrase $phrase=null, \Exception $cause=null, $code=0)
Definition:
BulkException.php:33
Magento\Framework\Phrase
Definition:
Phrase.php:17
Magento\Framework\Phrase
$code
$code
Definition:
info.phtml:12