AnnotationException
extends Exception
in package
Description of AnnotationException
Table of Contents
Methods
- 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
AnnotationExceptioncreationError()
Creates a new AnnotationException describing an error which occurred during the creation of the annotation.
public
static creationError(string $message[, Throwable|null $previous = null ]) : AnnotationException
Parameters
- $message : string
- $previous : Throwable|null = null
Return values
AnnotationExceptionenumeratorError()
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
AnnotationExceptionoptimizerPlusLoadComments()
public
static optimizerPlusLoadComments() : AnnotationException
Return values
AnnotationExceptionoptimizerPlusSaveComments()
public
static optimizerPlusSaveComments() : AnnotationException
Return values
AnnotationExceptionrequiredError()
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
AnnotationExceptionsemanticalError()
Creates a new AnnotationException describing a Semantical error.
public
static semanticalError(string $message) : AnnotationException
Parameters
- $message : string
-
Exception message
Return values
AnnotationExceptionsemanticalErrorConstants()
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
AnnotationExceptionsyntaxError()
Creates a new AnnotationException describing a Syntax error.
public
static syntaxError(string $message) : AnnotationException
Parameters
- $message : string
-
Exception message
Return values
AnnotationExceptiontypeError()
Creates a new AnnotationException describing a type error.
public
static typeError(string $message) : AnnotationException
Parameters
- $message : string