Permalink
Browse files

Merge pull request #303 from BenoitLeveque/add_missing_use_in_query_b…

…uilder

Add missing use for PropelException in QueryBuilder
  • Loading branch information...
2 parents 4656d45 + 8616243 commit 117608cf8ec7d5d6edf56114ebbc218807907435 @willdurand willdurand committed Sep 9, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/Propel/Generator/Builder/Om/QueryBuilder.php
@@ -167,7 +167,8 @@ protected function addClassBody(&$script)
'\Propel\Runtime\ActiveQuery\ModelCriteria',
'\Propel\Runtime\ActiveQuery\Criteria',
'\Propel\Runtime\ActiveQuery\ModelJoin',
- '\Exception'
+ '\Exception',
+ '\Propel\Runtime\Exception\PropelException'
);
$this->declareClassFromBuilder($this->getStubQueryBuilder(), 'Child');
$this->declareClassFromBuilder($this->getStubPeerBuilder());

0 comments on commit 117608c

Please sign in to comment.