* @link http://www.oxidmodule.com */ declare(strict_types=1); namespace D3\DataWizard\Application\Model\Exceptions; use Exception; use OxidEsales\Eshop\Core\Exception\StandardException; use OxidEsales\Eshop\Core\Registry; class DebugException extends StandardException implements DataWizardException { public function __construct($sMessage = "not set", $iCode = 0, Exception $previous = null ) { $sMessage = sprintf( Registry::getLang()->translateString('D3_DATAWIZARD_DEBUG'), $sMessage ); parent::__construct($sMessage, $iCode, $previous ); } }