1
0
mirror of synced 2024-12-14 23:26:04 +03:00
doctrine2/Doctrine/Validator/Exception.php
doctrine e1548625b8
2006-05-30 09:12:57 +00:00

14 lines
359 B
PHP

<?php
Doctrine::autoload('Doctrine_Exception');
class Doctrine_Validator_Exception extends Doctrine_Exception {
private $validator;
public function __construct(Doctrine_Validator $validator) {
$this->validator = $validator;
}
public function getErrorStack() {
return $this->validator->getErrorStack();
}
}
?>