class MarkdownUrlNotExistsException in Markdown 8.2
Exception thrown when a URL is expected to exist but does not.
@todo Extend from \RuntimeException and implement MarkdownExceptionInterface in 3.0.0.
Hierarchy
- class \Drupal\markdown\Exception\MarkdownException extends \Drupal\markdown\Exception\RuntimeException implements MarkdownExceptionInterface
- class \Drupal\markdown\Exception\MarkdownUrlNotExistsException
Expanded class hierarchy of MarkdownUrlNotExistsException
1 file declares its use of MarkdownUrlNotExistsException
- Markdown.php in src/
Markdown.php
File
- src/
Exception/ MarkdownUrlNotExistsException.php, line 11
Namespace
Drupal\markdown\ExceptionView source
class MarkdownUrlNotExistsException extends MarkdownException {
/**
* {@inheritdoc}
*/
public function __construct($file, $code = 0, $previous = NULL) {
parent::__construct(sprintf('Markdown cannot parse the URL: %s', $file), $code, $previous);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MarkdownUrlNotExistsException:: |
public | function |