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
19ac1e79
Commit
19ac1e79
authored
May 30, 2006
by
doctrine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a folder remotely
parent
043c7e64
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
45 additions
and
0 deletions
+45
-0
Find.class.php
Doctrine/Exception/Find.class.php
+11
-0
Mapping.class.php
Doctrine/Exception/Mapping.class.php
+11
-0
Naming.class.php
Doctrine/Exception/Naming.class.php
+12
-0
PrimaryKey.class.php
Doctrine/Exception/PrimaryKey.class.php
+11
-0
No files found.
Doctrine/Exception/Find.class.php
0 → 100644
View file @
19ac1e79
<?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
0 → 100644
View file @
19ac1e79
<?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
0 → 100644
View file @
19ac1e79
<?php
require_once
(
Doctrine
::
getPath
()
.
DIRECTORY_SEPARATOR
.
"Exception.php"
);
/**
* 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
0 → 100644
View file @
19ac1e79
<?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