ok
Direktori : /opt/alt/python27/lib64/python2.7/site-packages/ |
Current File : //opt/alt/python27/lib64/python2.7/site-packages/_mysql_exceptions.pyc |
� �rPc @ s9 d Z y d d l m Z m Z m Z Wn e k r? e Z n Xd e f d � � YZ d e e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d S( s� _mysql_exceptions: Exception classes for _mysql and MySQLdb. These classes are dictated by the DB API v2.0: http://www.python.org/topics/database/DatabaseAPI-2.0.html i����( t Exceptiont StandardErrort Warningt MySQLErrorc B s e Z d Z RS( s* Exception related to operation with MySQL.( t __name__t __module__t __doc__( ( ( sD /opt/alt/python27/lib64/python2.7/site-packages/_mysql_exceptions.pyR s R c B s e Z d Z RS( sW Exception raised for important warnings like data truncations while inserting, etc.( R R R ( ( ( sD /opt/alt/python27/lib64/python2.7/site-packages/_mysql_exceptions.pyR s t Errorc B s e Z d Z RS( sQ Exception that is the base class of all other error exceptions (not Warning).( R R R ( ( ( sD /opt/alt/python27/lib64/python2.7/site-packages/_mysql_exceptions.pyR s t InterfaceErrorc B s e Z d Z RS( sk Exception raised for errors that are related to the database interface rather than the database itself.( R R R ( ( ( sD /opt/alt/python27/lib64/python2.7/site-packages/_mysql_exceptions.pyR s t DatabaseErrorc B s e Z d Z RS( sA Exception raised for errors that are related to the database.( R R R ( ( ( sD /opt/alt/python27/lib64/python2.7/site-packages/_mysql_exceptions.pyR % s t DataErrorc B s e Z d Z RS( s� Exception raised for errors that are due to problems with the processed data like division by zero, numeric value out of range, etc.( R R R ( ( ( sD /opt/alt/python27/lib64/python2.7/site-packages/_mysql_exceptions.pyR + s t OperationalErrorc B s e Z d Z RS( s; Exception raised for errors that are related to the database's operation and not necessarily under the control of the programmer, e.g. an unexpected disconnect occurs, the data source name is not found, a transaction could not be processed, a memory allocation error occurred during processing, etc.( R R R ( ( ( sD /opt/alt/python27/lib64/python2.7/site-packages/_mysql_exceptions.pyR 2 s t IntegrityErrorc B s e Z d Z RS( s� Exception raised when the relational integrity of the database is affected, e.g. a foreign key check fails, duplicate key, etc.( R R R ( ( ( sD /opt/alt/python27/lib64/python2.7/site-packages/_mysql_exceptions.pyR ; s t InternalErrorc B s e Z d Z RS( s� Exception raised when the database encounters an internal error, e.g. the cursor is not valid anymore, the transaction is out of sync, etc.( R R R ( ( ( sD /opt/alt/python27/lib64/python2.7/site-packages/_mysql_exceptions.pyR B s t ProgrammingErrorc B s e Z d Z RS( s� Exception raised for programming errors, e.g. table not found or already exists, syntax error in the SQL statement, wrong number of parameters specified, etc.( R R R ( ( ( sD /opt/alt/python27/lib64/python2.7/site-packages/_mysql_exceptions.pyR I s t NotSupportedErrorc B s e Z d Z RS( s� Exception raised in case a method or database API was used which is not supported by the database, e.g. requesting a .rollback() on a connection that does not support transaction or has transactions turned off.( R R R ( ( ( sD /opt/alt/python27/lib64/python2.7/site-packages/_mysql_exceptions.pyR P s N( R t exceptionsR R R t ImportErrorR R R R R R R R R R ( ( ( sD /opt/alt/python27/lib64/python2.7/site-packages/_mysql_exceptions.pyt <module> s