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()

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);
}