You are here

class ValidationException in Feeds 8.3

Thrown if validation of a feed item fails.

Hierarchy

Expanded class hierarchy of ValidationException

1 file declares its use of ValidationException
EntityProcessorBase.php in src/Feeds/Processor/EntityProcessorBase.php

File

src/Exception/ValidationException.php, line 10

Namespace

Drupal\feeds\Exception
View source
class ValidationException extends FeedsRuntimeException {

  /**
   * Returns the formatted message.
   *
   * @return \Drupal\Component\Render\FormattableMarkup
   *   A formatted message.
   */
  public function getFormattedMessage() {
    return new FormattableMarkup($this
      ->getMessage(), []);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
ValidationException::getFormattedMessage public function Returns the formatted message.