Added PHP doc for the ValidationException thrown by DataObject::write

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63892 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Hayden Smith 2008-10-08 20:50:28 +00:00
parent fc2c16efdf
commit 3f6a86738b

View File

@ -655,6 +655,7 @@ class DataObject extends ViewableData implements DataObjectInterface {
* (Default: false)
*
* @return int The ID of the record
* @throws ValidationException Exception that can be caught and handled by the calling function
*/
public function write($showDebug = false, $forceInsert = false, $forceWrite = false, $writeComponents = false) {
$firstWrite = false;