class AnnotationException extends Exception (View source)

Description of AnnotationException

Methods

syntaxError(string $message)

Creates a new AnnotationException describing a Syntax error.

semanticalError(string $message)

Creates a new AnnotationException describing a Semantical error.

Details

static AnnotationException syntaxError(string $message)

Creates a new AnnotationException describing a Syntax error.

Parameters

string $message Exception message

Return Value

AnnotationException

static AnnotationException semanticalError(string $message)

Creates a new AnnotationException describing a Semantical error.

Parameters

string $message Exception message

Return Value

AnnotationException