Doctrine\Common\Annotations\AnnotationException
Description of AnnotationException
- Author: Benjamin Eberlei <kontakt@beberlei.de>
Synopsis
class AnnotationException
extends Exception
{
- // Inherited members from Exception
- protected $message;
- protected $code;
- protected $file;
- protected $line;
- // methods
- public static AnnotationException syntaxError()
- public static AnnotationException semanticalError()
- public static AnnotationException semanticalErrorConstants()
- public static AnnotationException creationError()
- public static AnnotationException typeError()
- public static AnnotationException requiredError()
- // Inherited methods from Exception
- public void __construct()
- public final string getMessage()
- public final Exception getPrevious()
- public final mixed getCode()
- public final string getFile()
- public final int getLine()
- public final array getTrace()
- public final string getTraceAsString()
- public string __toString()
Hierarchy
Extends
Members
protected
- $code
—
int
The exception code - $file
—
string
The filename where the exception was created - $line
—
int
The line where the exception was created - $message
—
string
The exception message
Methods
public
- creationError() — Creates a new AnnotationException describing an error which occurred during the creation of the annotation.
- requiredError() — Creates a new AnnotationException describing an required error of an attribute.
- semanticalError() — Creates a new AnnotationException describing a Semantical error.
- semanticalErrorConstants() — Creates a new AnnotationException describing a constant semantical error.
- syntaxError() — Creates a new AnnotationException describing a Syntax error.
- typeError() — Creates a new AnnotationException describing an type error of an attribute.
Inherited from Exception
public
- __toString() — String representation of the exception
- getCode() — Gets the Exception code
- getFile() — Gets the file in which the exception occurred
- getLine() — Gets the line in which the exception occurred
- getMessage() — Gets the Exception message
- getPrevious() — Returns previous Exception
- getTrace() — Gets the stack trace
- getTraceAsString() — Gets the stack trace as a string