Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
92d4bb22
Commit
92d4bb22
authored
Sep 20, 2006
by
zYne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed deprecated exceptions, fixed #90
parent
ebad53b7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
45 deletions
+0
-45
Find.class.php
Doctrine/Exception/Find.class.php
+0
-11
Mapping.class.php
Doctrine/Exception/Mapping.class.php
+0
-11
Naming.class.php
Doctrine/Exception/Naming.class.php
+0
-12
PrimaryKey.class.php
Doctrine/Exception/PrimaryKey.class.php
+0
-11
No files found.
Doctrine/Exception/Find.class.php
deleted
100644 → 0
View file @
ebad53b7
<?php
Doctrine
::
autoload
(
"Doctrine_Exception"
);
/**
* thrown when user tries to find a Doctrine_Record for given primary key and that object is not found
*/
class
Doctrine_Find_Exception
extends
Doctrine_Exception
{
public
function
__construct
()
{
parent
::
__construct
(
"Couldn't find Data Access Object."
,
Doctrine
::
ERR_FIND
);
}
}
Doctrine/Exception/Mapping.class.php
deleted
100644 → 0
View file @
ebad53b7
<?php
Doctrine
::
autoload
(
"Doctrine_Exception"
);
/**
* thrown when user tries to get a foreign key object but the mapping is not done right
*/
class
Doctrine_Mapping_Exception
extends
Doctrine_Exception
{
public
function
__construct
(
$message
=
"An error occured in the mapping logic."
)
{
parent
::
__construct
(
$message
,
Doctrine
::
ERR_MAPPING
);
}
}
Doctrine/Exception/Naming.class.php
deleted
100644 → 0
View file @
ebad53b7
<?php
Doctrine
::
autoload
(
'Doctrine_Exception'
);
/**
* thrown when user defined Doctrine_Table is badly named
*/
class
Doctrine_Naming_Exception
extends
Doctrine_Exception
{
public
function
__construct
()
{
parent
::
__construct
(
"Badly named Doctrine_Table. Each Doctrine_Table
must be in format [Name]Table."
,
Doctrine
::
ERR_NAMING
);
}
}
Doctrine/Exception/PrimaryKey.class.php
deleted
100644 → 0
View file @
ebad53b7
<?php
Doctrine
::
autoload
(
"Doctrine_Exception"
);
/**
* thrown when Doctrine_Record is loaded and there is no primary key field
*/
class
Doctrine_PrimaryKey_Exception
extends
Doctrine_Exception
{
public
function
__construct
()
{
parent
::
__construct
(
"No primary key column found. Each data set must have primary key column."
,
Doctrine
::
ERR_NO_PK
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment