add exceptions
This commit is contained in:
parent
5b43b21df1
commit
eddef3bbbf
24
Application/Model/Exceptions/noBaseObjectSetException.php
Normal file
24
Application/Model/Exceptions/noBaseObjectSetException.php
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This Software is the property of Data Development and is protected
|
||||||
|
* by copyright law - it is NOT Freeware.
|
||||||
|
* Any unauthorized use of this software without a valid license
|
||||||
|
* is a violation of the license agreement and will be prosecuted by
|
||||||
|
* civil and criminal law.
|
||||||
|
* http://www.shopmodule.com
|
||||||
|
*
|
||||||
|
* @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;
|
||||||
|
|
||||||
|
class noBaseObjectSetException extends pdfGeneratorExceptionAbstract
|
||||||
|
{
|
||||||
|
public function __construct( $sMessage = "no base object (e.g. order) for pdf generator set", $iCode = 0, \Exception $previous = null )
|
||||||
|
{
|
||||||
|
parent::__construct( $sMessage, $iCode, $previous );
|
||||||
|
}
|
||||||
|
}
|
@ -15,9 +15,7 @@
|
|||||||
|
|
||||||
namespace D3\PdfDocuments\Application\Model\Exceptions;
|
namespace D3\PdfDocuments\Application\Model\Exceptions;
|
||||||
|
|
||||||
use OxidEsales\Eshop\Core\Exception\StandardException;
|
class noPdfHandlerFoundException extends pdfGeneratorExceptionAbstract
|
||||||
|
|
||||||
class d3noPdfHandlerFoundException extends StandardException
|
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* d3noPdfHandlerFoundException constructor.
|
* d3noPdfHandlerFoundException constructor.
|
||||||
|
@ -0,0 +1,25 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This Software is the property of Data Development and is protected
|
||||||
|
* by copyright law - it is NOT Freeware.
|
||||||
|
*
|
||||||
|
* Any unauthorized use of this software without a valid license
|
||||||
|
* is a violation of the license agreement and will be prosecuted by
|
||||||
|
* civil and criminal law.
|
||||||
|
*
|
||||||
|
* http://www.shopmodule.com
|
||||||
|
*
|
||||||
|
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
|
||||||
|
* @author D3 Data Development - Max Buhe <support@shopmodule.com>
|
||||||
|
* @link http://www.oxidmodule.com
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace D3\PdfDocuments\Application\Model\Exceptions;
|
||||||
|
|
||||||
|
use OxidEsales\Eshop\Core\Exception\StandardException;
|
||||||
|
|
||||||
|
abstract class pdfGeneratorExceptionAbstract extends StandardException
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user