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