You are here

public static function AnnotationException::creationError in Plug 7

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 lib/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php
Annotation ::= "@" AnnotationName MethodCall AnnotationName ::= QualifiedName | SimpleName QualifiedName ::= NameSpacePart "\" {NameSpacePart "\"}* SimpleName NameSpacePart ::= identifier | null | false |…

File

lib/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php, line 67

Class

AnnotationException
Description of AnnotationException

Namespace

Doctrine\Common\Annotations

Code

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