Path

ez components / documentation / api reference / 2008.2.1 / database


eZ Components 2008.2.1

Database: ezcQueryException

[ Tutorial ] [ Oracle setup ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcQueryException

Base class for exceptions related to the SQL abstraction. [source]

Parents

Exception
   |
   --ezcBaseException
      |
      --ezcQueryException

Descendents

Child Class Description
ezcQueryInvalidParameterException Exception thrown when a method does not the receive correct variables it requires.
ezcQueryVariableParameterException Exception thrown when a method does not receive the variables it requires.
ezcQueryInvalidException Base class for exceptions related to the SQL abstraction.

Inherited Member Variables

From ezcBaseException:
public  ezcBaseException::$originalMessage

Method Summary

public ezcQueryException __construct( $message, $additionalInfo )
Constructs an ezcQueryException with the highlevel error message $message and the errorcode $code.

Inherited Methods

From ezcBaseException :
public ezcBaseException ezcBaseException::__construct()
Constructs a new ezcBaseException with $message

Methods

__construct

ezcQueryException __construct( string $message, string $additionalInfo )
Constructs an ezcQueryException with the highlevel error message $message and the errorcode $code.

Parameters

Name Type Description
$message string  
$additionalInfo string  

Redefinition of

Method Description
ezcBaseException::__construct() Constructs a new ezcBaseException with $message

Redefined in descendants as

Method Description
ezcQueryInvalidParameterException::__construct() Constructs an ezcQueryVariableParameterException.
ezcQueryVariableParameterException::__construct() Constructs an ezcQueryVariableParameterException with the method $method and the arguments $numProvided and $numExpected.
ezcQueryInvalidException::__construct() Constructs a QueryInvalid exception with the type $type and the additional information $message.

Last updated: Mon, 09 Feb 2009