1
0
mirror of synced 2024-12-15 15:46:02 +03:00
doctrine2/Doctrine/Validator/Exception.php

14 lines
359 B
PHP
Raw Normal View History

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();
}
}
?>