class MissingDataException

Same name in other branches
  1. 9 core/lib/Drupal/Core/TypedData/Exception/MissingDataException.php \Drupal\Core\TypedData\Exception\MissingDataException
  2. 10 core/lib/Drupal/Core/TypedData/Exception/MissingDataException.php \Drupal\Core\TypedData\Exception\MissingDataException
  3. 11.x 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 {

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.