Zeta Components - high quality PHP components

Zeta Components Manual :: Docs For Class ezcQueryInvalidException

Database::ezcQueryInvalidException

Class ezcQueryInvalidException

Base class for exceptions related to the SQL abstraction.

Source for this file: /Database/src/exceptions/query/invalid.php

Exception
   |
   --ezcBaseException
      |
      --ezcQueryException
         |
         --ezcQueryInvalidException
Version:   //autogentag//

Inherited Member Variables

From ezcBaseException
public ezcBaseException::$originalMessage
From Exception (Internal Class)
protected $code
protected $file
protected $line
protected $message
private $previous
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 = ], [$previous = ] )
public void getCode ( )
public void getFile ( )
public void getLine ( )
public void getMessage ( )
public void getPrevious ( )
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.
Documentation generated by phpDocumentor 1.4.3