mysql.exceptions

Exceptions defined by mysql-native.

Members

Aliases

MYX
alias MYX = MySQLException
Undocumented in source.
MYXDataPending
alias MYXDataPending = MySQLDataPendingException
Undocumented in source.
MYXInvalidatedRange
alias MYXInvalidatedRange = MySQLInvalidatedRangeException
Undocumented in source.
MYXNoResultRecieved
alias MYXNoResultRecieved = MySQLNoResultRecievedException
Undocumented in source.
MYXNotPrepared
alias MYXNotPrepared = MySQLNotPreparedException
Undocumented in source.
MYXProtocol
alias MYXProtocol = MySQLProtocolException
Undocumented in source.
MYXReceived
alias MYXReceived = MySQLReceivedException
Undocumented in source.
MYXResultRecieved
alias MYXResultRecieved = MySQLResultRecievedException
Undocumented in source.
MYXWrongFunction
alias MYXWrongFunction = MySQLWrongFunctionException
Undocumented in source.

Classes

MySQLDataPendingException
class MySQLDataPendingException

This exception is no longer used by mysql-native and will be deprecated (and later removed) in upcoming releases.

MySQLException
class MySQLException

An exception type to distinguish exceptions thrown by this package.

MySQLInvalidatedRangeException
class MySQLInvalidatedRangeException

Thrown when attempting to use a range that's been invalidated. In particular, when using a ResultRange after a new command has been issued on the same connection.

MySQLNoResultRecievedException
class MySQLNoResultRecievedException

Thrown when the executed query, unexpectedly, did not produce a result set. Use the exec functions, not query (query, querySet, queryRow, etc.), for commands that don't produce result sets (such as INSERT).

MySQLNotPreparedException
class MySQLNotPreparedException

Thrown when attempting to use a prepared statement which had already been released.

MySQLProtocolException
class MySQLProtocolException

Received invalid data from the server which violates the MySQL network protocol. (Quite possibly mysql-native's fault. Please file an issue if you receive this.)

MySQLReceivedException
class MySQLReceivedException

The server sent back a MySQL error code and message. If the server is 4.1+, there should also be an ANSI/ODBC-standard SQLSTATE error code.

MySQLResultRecievedException
class MySQLResultRecievedException

Thrown when a result set was returned unexpectedly. Use the query functions (query, querySet, queryRow, etc.), not exec for commands that return result sets (such as SELECT), even if the result set has zero elements.

MySQLWrongFunctionException
class MySQLWrongFunctionException

Common base class of MySQLResultRecievedException and MySQLNoResultRecievedException.

Meta