1
0
mirror of synced 2025-01-31 20:41:44 +03:00
doctrine2/classes/Exception/Validator.class.php

14 lines
394 B
PHP
Raw Normal View History

2006-04-13 20:37:28 +00:00
<?php
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();
}
}
?>