public static function AnnotationException::semanticalError

Creates a new AnnotationException describing a Semantical error.

Parameters

string $message Exception message:

Return value

AnnotationException

2 calls to AnnotationException::semanticalError()
AnnotationException::semanticalErrorConstants in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Annotations/AnnotationException.php
Creates a new AnnotationException describing a constant semantical error.
DocParser::Annotation in drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Annotations/DocParser.php
Annotation ::= "@" AnnotationName ["(" [Values] ")"] AnnotationName ::= QualifiedName | SimpleName QualifiedName ::= NameSpacePart "\" {NameSpacePart "\"}* SimpleName NameSpacePart ::= identifier…

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Annotations/AnnotationException.php, line 50

Class

AnnotationException
Description of AnnotationException

Namespace

Doctrine\Common\Annotations

Code

public static function semanticalError($message) {
  return new self('[Semantical Error] ' . $message);
}