
| Current Path : /var/www/html/rocksensor1/web/core/lib/Drupal/Core/Entity/Exception/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/rocksensor1/web/core/lib/Drupal/Core/Entity/Exception/MissingBundleClassException.php |
<?php
namespace Drupal\Core\Entity\Exception;
/**
* Exception thrown if a bundle class does not exist.
*
* @see \Drupal\Core\Entity\ContentEntityStorageBase::getEntityClass()
*/
class MissingBundleClassException extends \Exception {
/**
* Constructs a MissingBundleClassException.
*
* @param string $bundle_class
* The bundle class which should exist.
*/
public function __construct(string $bundle_class) {
$message = sprintf('Bundle class %s does not exist.', $bundle_class);
parent::__construct($message);
}
}