AnnotationException
extends Exception
in package
Description of AnnotationException
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
Return values
AnnotationException —creationError()
Creates a new AnnotationException describing an error which occurred during the creation of the annotation.
public
static creationError(string $message) : AnnotationException
Parameters
- $message : string
Return values
AnnotationException —enumeratorError()
Creates a new AnnotationException describing a invalid enummerator.
public
static enumeratorError(string $attributeName, string $annotationName, string $context, mixed $available, mixed $given) : AnnotationException
Parameters
- $attributeName : string
- $annotationName : string
- $context : string
- $available : mixed
- $given : mixed
Tags
Return values
AnnotationException —optimizerPlusLoadComments()
public
static optimizerPlusLoadComments() : AnnotationException
Return values
AnnotationException —optimizerPlusSaveComments()
public
static optimizerPlusSaveComments() : AnnotationException
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
Return values
AnnotationException —semanticalError()
Creates a new AnnotationException describing a Semantical error.
public
static semanticalError(string $message) : AnnotationException
Parameters
- $message : string
-
Exception message
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
Return values
AnnotationException —syntaxError()
Creates a new AnnotationException describing a Syntax error.
public
static syntaxError(string $message) : AnnotationException
Parameters
- $message : string
-
Exception message
Return values
AnnotationException —typeError()
Creates a new AnnotationException describing a type error.
public
static typeError(string $message) : AnnotationException
Parameters
- $message : string