Summary
- File
- Package hierarchy Doctrine\Common
- Class hierarchy \Exception \DoctrineException
- See also https://www.doctrine-project.org
Base Exception class of Doctrine
Base Exception class of Doctrine
__construct(string $message = "", \Exception $cause = null)
Initializes a new DoctrineException.
string | $message | |
\Exception | $cause | Optional Exception |
None found |
notImplemented(string $method = null, string $class = null)
Throws a DoctrineException reporting not implemented method in a given class
string | $method | Method name |
string | $class | Class name |
static |
__callStatic(string $method, array $arguments = array())
Implementation of __callStatic magic method.
Received a method name and arguments. It lookups a $_messages HashMap for matching Class#Method key and executes the returned string value translating the placeholders with arguments passed.
string | $method | Method name |
array | $arguments | Optional arguments to be translated in placeholders |
static |
getExceptionMessage(string $messageKey) : string|false
Retrieves error string given a message key for lookup
string | $messageKey |
Returns the error string if found; FALSE otherwise
static |
unknownColumnType( $type)
$type |
None found |
typeExists( $type)
$type |
None found |