class FieldException

Base class for all exceptions thrown by Field API functions.

This class has no functionality of its own other than allowing all Field API exceptions to be caught by a single catch block.

Hierarchy

Expanded class hierarchy of FieldException

8 files declare their use of FieldException
CrudTest.php in drupal/core/modules/field/lib/Drupal/field/Tests/CrudTest.php
Definition of Drupal\field\Tests\CrudTest.
field.crud.inc in drupal/core/modules/field/field.crud.inc
Field CRUD API, handling field and field instance creation and deletion.
Field.php in drupal/core/modules/field/lib/Drupal/field/Plugin/Core/Entity/Field.php
Contains \Drupal\field\Plugin\Core\Entity\Field.
FieldInstance.php in drupal/core/modules/field/lib/Drupal/field/Plugin/Core/Entity/FieldInstance.php
Contains \Drupal\field\Plugin\Core\Entity\FieldInstance.
FieldInstanceCrudTest.php in drupal/core/modules/field/lib/Drupal/field/Tests/FieldInstanceCrudTest.php
Definition of Drupal\field\Tests\FieldInstanceCrudTest.

... See full list

File

drupal/core/modules/field/lib/Drupal/field/FieldException.php, line 18

Namespace

Drupal\field
View source
class FieldException extends RuntimeException {

}

Members