Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

TypeNotFound.php
Go to the documentation of this file.
1 <?php
2
7 namespace eZ\Publish\Core\Persistence\Legacy\Exception;
8
9 use eZ\Publish\Core\Base\Exceptions\NotFoundException;
10
14 class TypeNotFound extends NotFoundException
15 {
22 public function __construct($typeId, $status)
23 {
24 parent::__construct(
25 'eZ\\Publish\\SPI\\Persistence\\Content\\Type',
26 sprintf('ID: %s, Status: %s', $typeId, $status)
27 );
28 }
29 }
eZ\Publish\Core\Base\Exceptions\NotFoundException
Not Found Exception implementation.
Definition: Core/Base/Exceptions/NotFoundException.php:21
eZ\Publish\Core\Persistence\Legacy\Exception\TypeNotFound
Exception thrown when a Type to be loaded is not found.
Definition: TypeNotFound.php:15
eZ\Publish\Core\Persistence\Legacy\Exception\TypeNotFound\__construct
__construct($typeId, $status)
Creates a new exception for $typeId in $status;.
Definition: TypeNotFound.php:22
eZ\Publish\Core\Persistence\Legacy\Exception
Definition: GroupNotEmpty.php:7
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.