diff options
author | Ivan Enderlin <ivan.enderlin@hoa-project.net> | 2013-11-25 15:11:33 +0100 |
---|---|---|
committer | Ivan Enderlin <ivan.enderlin@hoa-project.net> | 2013-11-25 15:11:33 +0100 |
commit | 0c2c75d01ce0a844344ef8d4abb0f2cc42c6c6ec (patch) | |
tree | 5659e419aa0df6b7f864b4fb4312fc1c51e13a0b /Model | |
parent | 977d226b11831034b7ca948a654958d34a1c62e3 (diff) | |
download | Praspel-0c2c75d01ce0a844344ef8d4abb0f2cc42c6c6ec.zip Praspel-0c2c75d01ce0a844344ef8d4abb0f2cc42c6c6ec.tar.gz Praspel-0c2c75d01ce0a844344ef8d4abb0f2cc42c6c6ec.tar.bz2 |
Update indexes of exceptions.
Diffstat (limited to 'Model')
-rw-r--r-- | Model/Behavior.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Model/Behavior.php b/Model/Behavior.php index 8fa173d..0b25e42 100644 --- a/Model/Behavior.php +++ b/Model/Behavior.php @@ -232,7 +232,7 @@ class Behavior extends Clause { default: throw new \Hoa\Praspel\Exception\Model( 'Clause @%s is unknown.', - 1, array($clause, $this->getName())); + 6, array($clause, $this->getName())); } return $this->_clauses[$clause] = $handle; @@ -252,7 +252,7 @@ class Behavior extends Clause { if(false === in_array($name, static::getAllowedClauses())) throw new \Hoa\Praspel\Exception\Model( 'Clause @%s is not allowed in @%s.', - 0, array($name, $this->getId())); + 7, array($name, $this->getId())); $clause->setParent($this); |