InvalidItemException extends Exception
Table of Contents
$messageArgs | ||
---|---|---|
$warning | ||
__construct() | mixed | |
getMessageArgs() | array | |
isWarning() | bool | |
fromProductClass() | InvalidItemException |
Properties
$messageArgs
private
mixed
$messageArgs
= []
$warning
private
mixed
$warning
Methods
__construct()
public
__construct(
[ $message :
mixed
= null ]
[, $messageArgs :
mixed
= [] ]
[, $warning :
mixed
= false ]
)
: mixed
Parameters
- $message : mixed = null
- $messageArgs : mixed = []
- $warning : mixed = false
Return values
mixedgetMessageArgs()
public
getMessageArgs(
)
: array
Return values
arrayisWarning()
public
isWarning(
)
: bool
Return values
boolfromProductClass()
public
static fromProductClass(
$errorMessage :
mixed
, $ProductClass :
ProductClass
)
: InvalidItemException
Parameters
- $errorMessage : mixed
- $ProductClass : ProductClass