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
e64e3349
Commit
e64e3349
authored
Sep 12, 2008
by
romanb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added base exception
parent
0223d7a4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
1 deletion
+25
-1
DoctrineException.php
lib/Doctrine/Common/Exceptions/DoctrineException.php
+24
-0
ORMException.php
lib/Doctrine/ORM/Exceptions/ORMException.php
+1
-1
No files found.
lib/Doctrine/Common/Exceptions/DoctrineException.php
0 → 100644
View file @
e64e3349
<?php
class
Doctrine_Common_Exceptions_DoctrineException
extends
Exception
{
private
$_innerException
;
public
function
__construct
(
$message
=
""
,
Exception
$innerException
=
null
)
{
parent
::
__construct
(
$message
);
$this
->
_innerException
=
$innerException
;
}
public
function
getInnerException
()
{
return
$this
->
_innerException
;
}
public
static
function
notImplemented
(
$method
,
$class
)
{
return
new
self
(
"The method '
$method
' is not implemented in the class '
$class
'."
);
}
}
?>
\ No newline at end of file
lib/Doctrine/ORM/Exceptions/ORMException.php
View file @
e64e3349
...
...
@@ -33,7 +33,7 @@
* @author Konsta Vesterinen <kvesteri@cc.hut.fi>
* @author Roman Borschel <roman@code-factory.org>
*/
class
Doctrine_ORM_Exceptions_ORMException
extends
Doctrine_
Shared
_Exceptions_DoctrineException
class
Doctrine_ORM_Exceptions_ORMException
extends
Doctrine_
Common
_Exceptions_DoctrineException
{
}
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