* @copyright 2021 DIGITAL RETAIL TECHNOLOGIES SL * @license https://opensource.org/licenses/MIT The MIT License * * Don't forget to prefix your containers with your own identifier * to avoid any conflicts with others containers. */ class RetailcrmJobManagerException extends Exception { /** * @var string */ private $job; /** * @var array */ private $jobs; /** * RetailcrmJobManagerException constructor. * * @param string $message * @param string $job * @param array $jobs * @param int $code * @param $previous */ public function __construct($message = '', $job = '', $jobs = [], $code = 0, $previous = null) { parent::__construct($message, $code, $previous); $this->job = $job; $this->jobs = $jobs; } /** * @return string */ public function getJob() { return $this->job; } /** * @return array */ public function getJobs() { return $this->jobs; } }