public static function AnnotationException::creationError

Creates a new AnnotationException describing an error which occurred during the creation of the annotation.

@since 2.2

Parameters

string $message:

Return value

AnnotationException

1 call to AnnotationException::creationError()
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 79

Class

AnnotationException
Description of AnnotationException

Namespace

Doctrine\Common\Annotations

Code

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