Permalink
Browse files

use the php Exception, since this section of code is going to be refa…

…ctored
  • Loading branch information...
1 parent 4d2d4cc commit ceabac3fc2a1e9db420e658912f78e792b6e32c2 @iampersistent iampersistent committed Jul 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Vespolina/Entity/Product.php
@@ -281,7 +281,7 @@ public function addIdentifier($identifier, $target = null)
}
if (!$idSet = $this->identifiers->get($key)) {
$optionGroup = key($target);
- throw new ParameterNotFoundException(sprintf('There is not an option group %s with the option %s', $optionGroup, $target[$optionGroup]));
+ throw new \Exception(sprintf('There is not an option group %s with the option %s', $optionGroup, $target[$optionGroup]));
}
$idSet->addIdentifier($identifier);

0 comments on commit ceabac3

Please sign in to comment.