1
0
mirror of synced 2024-12-15 07:36:03 +03:00
doctrine2/manual/new/docs/en/advanced-components/exceptions.txt

15 lines
1009 B
Plaintext
Raw Normal View History

+++ Overview
+++ List of exceptions
: {{InvalidKeyException}} :
: {{Doctrine_Exception}} :
: {{DQLException}} :
: {{Doctrine_PrimaryKey_Exception}} : thrown when {{Doctrine_Record}} is loaded and there is no primary key field
: {{Doctrine_Refresh_Exception}} : thrown when {{Doctrine_Record}} is refreshed and the refreshed primary key doens't match the old one
: {{Doctrine_Find_Exception}} : thrown when user tries to find a {{Doctrine_Record}} for given primary key and that object is not found
: {{Doctrine_Naming_Exception}} : thrown when user defined {{Doctrine_Table}} is badly named
: {{Doctrine_Connection_Exception}} : thrown when user tries to get the current connection and there are no open connections
: {{Doctrine_Table_Exception}} : thrown when user tries to initialize a new instance of {{Doctrine_Table}}, while there already exists an instance of that factory
: {{Doctrine_Mapping_Exception}} : thrown when user tries to get a foreign key object but the mapping is not done right