You are here

class MissingDataException in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/TypedData/Exception/MissingDataException.php \Drupal\Core\TypedData\Exception\MissingDataException

Exception thrown when an operation misses a data value; i.e., it is unset.

Hierarchy

  • class \Drupal\Core\TypedData\Exception\MissingDataException extends \Drupal\Core\TypedData\Exception\Exception

Expanded class hierarchy of MissingDataException

3 files declare their use of MissingDataException
ConfigEntityAdapter.php in core/lib/Drupal/Core/Entity/Plugin/DataType/ConfigEntityAdapter.php
EntityAdapter.php in core/lib/Drupal/Core/Entity/Plugin/DataType/EntityAdapter.php
EntityAdapterUnitTest.php in core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php

File

core/lib/Drupal/Core/TypedData/Exception/MissingDataException.php, line 8

Namespace

Drupal\Core\TypedData\Exception
View source
class MissingDataException extends \Exception {

}

Members