mysql.exceptions

Exceptions defined by mysql-native.

Members

Aliases

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

Classes

MYX
class MYX

An exception type to distinguish exceptions thrown by this package.

MYXDataPending
deprecated class MYXDataPending

This exception is no longer used by mysql-native and will be removed in an upcoming release.

MYXInvalidatedRange
class MYXInvalidatedRange

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.

MYXNoResultRecieved
class MYXNoResultRecieved

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

MYXNotPrepared
class MYXNotPrepared

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

MYXProtocol
class MYXProtocol

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

MYXReceived
class MYXReceived

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.

MYXResultRecieved
class MYXResultRecieved

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

MYXWrongFunction
class MYXWrongFunction

Common base class of MYXResultRecieved and MYXNoResultRecieved.

Meta