1
0
mirror of synced 2024-12-13 22:56:04 +03:00
doctrine2/Doctrine/Validator/Exception.php
2006-05-30 08:56:40 +00:00

14 lines
388 B
PHP

<?php
require_once(Doctrine::getPath().DIRECTORY_SEPARATOR."Exception.php");
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();
}
}
?>