14 lines
359 B
PHP
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();
|
|
}
|
|
}
|
|
?>
|