You are here

class MarkdownFileNotExistsException in Markdown 8.2

Exception thrown when a file is expected to exist but does not.

@todo Extend from \RuntimeException and implement MarkdownExceptionInterface in 3.0.0.

Hierarchy

Expanded class hierarchy of MarkdownFileNotExistsException

1 file declares its use of MarkdownFileNotExistsException
Markdown.php in src/Markdown.php

File

src/Exception/MarkdownFileNotExistsException.php, line 11

Namespace

Drupal\markdown\Exception
View source
class MarkdownFileNotExistsException extends MarkdownException {

  /**
   * {@inheritdoc}
   */
  public function __construct($file, $code = 0, $previous = NULL) {
    parent::__construct(sprintf('Markdown cannot parse the file: %s', $file), $code, $previous);
  }

}

Members