Namespaces

  • Latte
    • Loaders
    • Macros
    • Runtime
  • Nette
    • Application
      • Responses
      • Routers
      • UI
    • Bridges
      • ApplicationDI
      • ApplicationLatte
      • ApplicationTracy
      • CacheDI
      • CacheLatte
      • DatabaseDI
      • DatabaseTracy
      • DITracy
      • FormsDI
      • FormsLatte
      • Framework
      • HttpDI
      • HttpTracy
      • MailDI
      • ReflectionDI
      • SecurityDI
      • SecurityTracy
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Conventions
      • Drivers
      • Table
    • DI
      • Config
        • Adapters
      • Extensions
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Loaders
    • Localization
    • Mail
    • Neon
    • PhpGenerator
      • Traits
    • Reflection
    • Security
    • Tokenizer
    • Utils
  • Tracy
    • Bridges
      • Nette
  • none

Classes

  • Connection
  • Context
  • Helpers
  • ResultSet
  • Row
  • SqlLiteral
  • SqlPreprocessor
  • Structure

Interfaces

  • IConventions
  • IRow
  • IRowContainer
  • IStructure
  • ISupplementalDriver

Exceptions

  • ConnectionException
  • ConstraintViolationException
  • DriverException
  • ForeignKeyConstraintViolationException
  • NotNullConstraintViolationException
  • UniqueConstraintViolationException
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases

Class DriverException

Base class for all errors in the driver or SQL server.

Exception
Extended by RuntimeException
Extended by PDOException
Extended by Nette\Database\DriverException

Direct known subclasses

Nette\Database\ConnectionException, Nette\Database\ConstraintViolationException

Indirect known subclasses

Nette\Database\ForeignKeyConstraintViolationException, Nette\Database\NotNullConstraintViolationException, Nette\Database\UniqueConstraintViolationException
Namespace: Nette\Database
Located at Database/DriverException.php
Methods summary
public static Nette\Database\DriverException
# from( PDOException $src )

Returns

Nette\Database\DriverException
static
public integer|string|null
# getDriverCode( )

Returns

integer|string|null
Driver-specific error code
public string|null
# getSqlState( )

Returns

string|null
SQLSTATE error code
public string|null
# getQueryString( )

Returns

string|null
SQL command
Methods inherited from Exception
__construct(), __toString(), __wakeup(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()
Properties summary
public string $queryString
#
Properties inherited from PDOException
$errorInfo
Properties inherited from Exception
$code, $file, $line, $message
Nette 2.4-20180918 API API documentation generated by ApiGen 2.8.0