. */ namespace SP\Domain\User\Services; use Exception; use SP\Domain\Core\Exceptions\SPException; /** * Class UpdatedMasterPassException */ final class UpdatedMasterPassException extends SPException { /** * SPException constructor. * * @param string $type * @param int $code * @param Exception|null $previous */ public function __construct(string $type, int $code = 0, Exception $previous = null) { parent::__construct( __u('Master password updated'), $type, __u('Please, restart the session for update it'), $code, $previous ); } }