Path

ez components / documentation / api reference / latest / database


eZ Components latest

Database: ezcQueryInvalidException

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

Class: ezcQueryInvalidException

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

Parents

Exception
   |
   --ezcBaseException
      |
      --ezcQueryException
         |
         --ezcQueryInvalidException

Inherited Member Variables

From ezcBaseException:
public  ezcBaseException::$originalMessage
From Exception (Internal Class):
protected  $code
protected  $file
protected  $line
protected  $message
private  $string
private  $trace

Method Summary

public ezcQueryInvalidException __construct( $type, $message )
Constructs a QueryInvalid exception with the type $type and the additional information $message.

Inherited Methods

From ezcQueryException :
public ezcQueryException ezcQueryException::__construct()
Constructs an ezcQueryException with the highlevel error message $message and the errorcode $code.
From ezcBaseException :
public ezcBaseException ezcBaseException::__construct()
Constructs a new ezcBaseException with $message
From Exception (Internal Class) :
public Exception constructor __construct ( $message, $code )
public void getCode ( )
public void getFile ( )
public void getLine ( )
public void getMessage ( )
public void getTrace ( )
public void getTraceAsString ( )
public void __clone ( )
public void __toString ( )

Methods

__construct

ezcQueryInvalidException __construct( string $type, string $message )
Constructs a QueryInvalid exception with the type $type and the additional information $message.
$type should be used to specify the type of the query that failed. Possible values are SELECT, INSERT, UPDATE and DELETE.
Use $message to specify exactly what went wrong.

Parameters

Name Type Description
$type string  
$message string  

Redefinition of

Method Description
ezcQueryException::__construct() Constructs an ezcQueryException with the highlevel error message $message and the errorcode $code.

Last updated: Mon, 21 Dec 2009