From 8af425a2cf2114d7780623f9a6a1f6e03e25d8d3 Mon Sep 17 00:00:00 2001 From: Paul Driver Date: Tue, 16 Nov 2010 11:16:28 -0600 Subject: [PATCH] docpatch for outdated pod on Asset->newById --- lib/WebGUI/Asset.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/WebGUI/Asset.pm b/lib/WebGUI/Asset.pm index fc7fa7f22..b6fa1ded3 100644 --- a/lib/WebGUI/Asset.pm +++ b/lib/WebGUI/Asset.pm @@ -1910,7 +1910,9 @@ no revision date is available it will return undef. =head2 newById ( session, assetId [ , revisionDate ] ) Instances an existing Asset, by looking up the className of the asset specified by the assetId, and then calling new. -Returns undef if it can't find the classname. + +If a class cannot be found for the requested assetId, then it throws a +WebGUI::Error::InvalidParam exception. =head3 session