minor bugfix: handled a previously uncaught error condition

This commit is contained in:
fgerlits 2006-08-17 14:50:10 +00:00
parent 36b266be89
commit d668abe2c1
1 changed files with 5 additions and 1 deletions

View File

@ -799,8 +799,12 @@ GLiveSupport :: acquirePlayable(Ptr<const UniqueId>::Ref id)
} else if (existsAudioClip(id)) {
playable = acquireAudioClip(id);
}
} else {
throw XmlRpcInvalidArgumentException(
"invalid ID in GLiveSupport::acquirePlayable");
}
return playable;
}