You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 6, 2020. It is now read-only.
I think it's better to return null instead throw an Error that crash the Player :
public function forQName(qName:String):TypeDescription
{
var c:Class;
try { c = getDefinitionByName(qName) as Class; }
catch(err:Error) {};
return c != null ? forType(c) : null;
}
Thanks.
J.
The text was updated successfully, but these errors were encountered:
Hello,
The forQName method can throw an Error if there is no qName class registered.
http://github.com/sammyt/fussy/blob/master/src/uk/co/ziazoo/fussy/query/TypeQuery.as#L50
I think it's better to return null instead throw an Error that crash the Player :
Thanks.
J.
The text was updated successfully, but these errors were encountered: