2006-05-30 12:56:40 +04:00
|
|
|
<?php
|
2006-05-30 13:12:57 +04:00
|
|
|
Doctrine::autoload('Doctrine_Exception');
|
2006-05-30 12:56:40 +04:00
|
|
|
|
|
|
|
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();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|