Changeset 5300 for branches/1.0/lib/Doctrine/Validator/Exception.php
- Timestamp:
- 12/17/08 16:59:39 (15 months ago)
- Files:
-
- 1 modified
-
branches/1.0/lib/Doctrine/Validator/Exception.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0/lib/Doctrine/Validator/Exception.php
r5132 r5300 63 63 64 64 /** 65 * __toString66 *67 * @return string68 */69 public function __toString()70 {71 72 return parent::__toString();73 }74 75 /**76 65 * Generate a message with all classes that have exceptions 77 66 */ 78 67 private function generateMessage() 79 68 { 80 $message = "";69 $message = ''; 81 70 foreach ($this->invalid as $record) { 82 $message .= "Validation error in class " . get_class($record) . " ";71 $message .= $record->getErrorStackAsString(); 83 72 } 84 73 return $message;