Overview

Namespaces

  • Neevo
    • Cache
    • Drivers
    • Nette
  • PHP

Classes

  • BaseStatement
  • Connection
  • Literal
  • Loader
  • Manager
  • Parser
  • Result
  • ResultIterator
  • Row
  • Statement

Interfaces

  • ICache
  • IDriver
  • IObservable
  • IObserver

Exceptions

  • DriverException
  • ImplementationException
  • NeevoException
  • Overview
  • Namespace
  • Class
  • Tree

Class NeevoException

Main Neevo exception.

Exception
Extended by Neevo\NeevoException implements Neevo\IObservable

Direct known subclasses

Neevo\DriverException, Neevo\ImplementationException
Namespace: Neevo
Author: Smasty
Located at Neevo/exceptions.php
Methods summary
public
# __construct( string $message = '', integer $code = 0, string $sql = null, Exception $previous = null )

Construct exception.

Construct exception.

Parameters

$message
string
$code
integer
$sql
string
Optional SQL command
$previous
Exception
public string
# __toString( )

String representation of exception.

String representation of exception.

Returns

string
public string
# getSql( )

Get given SQL command.

Get given SQL command.

Returns

string
public
# attachObserver( Neevo\IObserver $observer, integer $event )

Attach given observer to given event.

Attach given observer to given event.

Parameters

$observer
Neevo\IObserver
$event
integer

Implementation of

Neevo\IObservable::attachObserver
public
# detachObserver( Neevo\IObserver $observer )

Detach given observer.

Detach given observer.

Parameters

$observer
Neevo\IObserver

Implementation of

Neevo\IObservable::detachObserver
public
# notifyObservers( integer $event )

Notify all observers attached to given event.

Notify all observers attached to given event.

Parameters

$event
integer

Implementation of

Neevo\IObservable::notifyObservers
Methods inherited from Exception
getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()
Properties summary
protected string $sql
#
protected static SplObjectStorage $observers
#
Properties inherited from Exception
$code, $file, $line, $message
Neevo Public API API documentation generated by ApiGen 2.6.1