Documentation

AnnotationException extends Exception
in package

Description of AnnotationException

Tags
since
2.0
author

Benjamin Eberlei kontakt@beberlei.de

author

Guilherme Blanco guilhermeblanco@hotmail.com

author

Jonathan Wage jonwage@gmail.com

author

Roman Borschel roman@code-factory.org

Table of Contents

attributeTypeError()  : AnnotationException
Creates a new AnnotationException describing an type error of an attribute.
creationError()  : AnnotationException
Creates a new AnnotationException describing an error which occurred during the creation of the annotation.
enumeratorError()  : AnnotationException
Creates a new AnnotationException describing a invalid enummerator.
optimizerPlusLoadComments()  : AnnotationException
optimizerPlusSaveComments()  : AnnotationException
requiredError()  : AnnotationException
Creates a new AnnotationException describing an required error of an attribute.
semanticalError()  : AnnotationException
Creates a new AnnotationException describing a Semantical error.
semanticalErrorConstants()  : AnnotationException
Creates a new AnnotationException describing a constant semantical error.
syntaxError()  : AnnotationException
Creates a new AnnotationException describing a Syntax error.
typeError()  : AnnotationException
Creates a new AnnotationException describing a type error.

Methods

attributeTypeError()

Creates a new AnnotationException describing an type error of an attribute.

public static attributeTypeError(string $attributeName, string $annotationName, string $context, string $expected, mixed $actual) : AnnotationException
Parameters
$attributeName : string
$annotationName : string
$context : string
$expected : string
$actual : mixed
Tags
since
2.2
Return values
AnnotationException

enumeratorError()

Creates a new AnnotationException describing a invalid enummerator.

public static enumeratorError(string $attributeName, string $annotationName, string $context, array<string|int, mixed> $available, mixed $given) : AnnotationException
Parameters
$attributeName : string
$annotationName : string
$context : string
$available : array<string|int, mixed>
$given : mixed
Tags
since
2.4
Return values
AnnotationException

requiredError()

Creates a new AnnotationException describing an required error of an attribute.

public static requiredError(string $attributeName, string $annotationName, string $context, string $expected) : AnnotationException
Parameters
$attributeName : string
$annotationName : string
$context : string
$expected : string
Tags
since
2.2
Return values
AnnotationException

semanticalErrorConstants()

Creates a new AnnotationException describing a constant semantical error.

public static semanticalErrorConstants(string $identifier[, string $context = null ]) : AnnotationException
Parameters
$identifier : string
$context : string = null
Tags
since
2.3
Return values
AnnotationException

Search results