Skip to content

Commit

Permalink
PR-882 Add default translatable key for no cookie exception
Browse files Browse the repository at this point in the history
Related #882

Signed-off-by: Anton Fedurtsya <anton@fedurtsya.com>
  • Loading branch information
Sieg committed Nov 8, 2021
1 parent 31970f1 commit 19005a1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions source/Core/Exception/CookieException.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ class CookieException extends \OxidEsales\Eshop\Core\Exception\StandardException
*/
protected $type = 'oxCookieException';

public function __construct(
$sMessage = "LOGIN_NO_COOKIE_SUPPORT",
$iCode = 0,
\Exception $previous = null
) {
parent::__construct($sMessage, $iCode, $previous);
}

/**
* Get string dump
* Overrides oxException::getString()
Expand Down

0 comments on commit 19005a1

Please sign in to comment.