Methods summary
public
|
#
__construct( string $message = '', integer $code = 0, string $sql = null, Exception $previous = null )
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.
Returns
string
|
public
|
#
attachObserver( Neevo\IObserver $observer, integer $event )
Attach given observer to given event.
Attach given observer to given event.
Parameters
Implementation of
|
public
|
#
detachObserver( Neevo\IObserver $observer )
Detach given observer.
Parameters
Implementation of
|
public
|
#
notifyObservers( integer $event )
Notify all observers attached to given event.
Notify all observers attached to given event.
Parameters
Implementation of
|