From 3f6a86738b31a427b07f0454556f772d6138d854 Mon Sep 17 00:00:00 2001 From: Hayden Smith Date: Wed, 8 Oct 2008 20:50:28 +0000 Subject: [PATCH] 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 --- core/model/DataObject.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/model/DataObject.php b/core/model/DataObject.php index cd571329d..3554ecd72 100644 --- a/core/model/DataObject.php +++ b/core/model/DataObject.php @@ -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;