2020-05-29 09:58:53 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
2020-07-04 23:25:24 +02:00
|
|
|
* See LICENSE file for license details.
|
|
|
|
*
|
2020-05-29 09:58:53 +02:00
|
|
|
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
|
|
|
* @author D3 Data Development - Daniel Seifert <support@shopmodule.com>
|
|
|
|
* @link http://www.oxidmodule.com
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace D3\PdfDocuments\Application\Model\Exceptions;
|
|
|
|
|
2020-06-02 10:12:35 +02:00
|
|
|
use Exception;
|
|
|
|
|
2020-05-30 00:46:30 +02:00
|
|
|
class noPdfHandlerFoundException extends pdfGeneratorExceptionAbstract
|
2020-05-29 09:58:53 +02:00
|
|
|
{
|
2020-05-29 10:20:22 +02:00
|
|
|
/**
|
|
|
|
* d3noPdfHandlerFoundException constructor.
|
|
|
|
*
|
|
|
|
* @param $requestId
|
|
|
|
* @param string $sMessage
|
|
|
|
* @param int $iCode
|
2020-06-02 10:12:35 +02:00
|
|
|
* @param Exception|null $previous
|
2020-05-29 10:20:22 +02:00
|
|
|
*/
|
2020-06-02 10:12:35 +02:00
|
|
|
public function __construct( $requestId, $sMessage = "no pdf handler defined for given request id", $iCode = 0, Exception $previous = null )
|
2020-05-29 09:58:53 +02:00
|
|
|
{
|
2020-05-29 15:25:55 +02:00
|
|
|
$sMessage .= ' "'.$requestId.'"';
|
2020-05-29 09:58:53 +02:00
|
|
|
parent::__construct( $sMessage, $iCode, $previous );
|
|
|
|
}
|
|
|
|
}
|