Neevo Public API
  • Namespace
  • Class
  • Tree

Namespaces

  • Neevo
    • Cache
    • Drivers
    • Nette
  • PHP

Classes

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

Interfaces

  • DriverInterface
  • ObservableInterface
  • ObserverInterface

Exceptions

  • DriverException
  • ImplementationException
  • NeevoException

Class NeevoException

Main Neevo exception.

Exception
Extended by Neevo\NeevoException implements Neevo\ObservableInterface

Direct known subclasses

Neevo\DriverException, Neevo\ImplementationException

Namespace: Neevo
Author: Smasty
Located at Neevo/NeevoException.php

Methods summary

public
# __construct( string $message = '', integer $code = 0, string $sql = null, Exception $previous = null )

Constructs exception.

Constructs exception.

Parameters

$message
string
$message
$code
integer
$code
$sql
string
$sql Optional SQL command
$previous
Exception
$previous

Overrides

Exception::__construct
public string
# __toString( )

Returns string representation of exception.

Returns string representation of exception.

Returns

string

Overrides

Exception::__toString
public string
# getSql( )

Returns given SQL command.

Returns given SQL command.

Returns

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

Attaches given observer to given event.

Attaches given observer to given event.

Parameters

$observer
Neevo\ObserverInterface
$observer
$event
integer
$event

Implementation of

Neevo\ObservableInterface::attachObserver()
public
# detachObserver( Neevo\ObserverInterface $observer )

Detaches given observer.

Detaches given observer.

Parameters

$observer
Neevo\ObserverInterface
$observer

Implementation of

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

Notifies all observers attached to given event.

Notifies all observers attached to given event.

Parameters

$event
integer
$event

Implementation of

Neevo\ObservableInterface::notifyObservers()

Methods inherited from Exception

getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()

Magic methods summary

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.8.0