2006-04-13 20:37:28 +00:00
|
|
|
<?php
|
2006-05-24 22:33:48 +00:00
|
|
|
require_once(Doctrine::getPath().DIRECTORY_SEPARATOR."Exception.class.php");
|
|
|
|
|
2006-04-13 20:37:28 +00: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();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|