From d668abe2c13fb22241476ac69a547596e6502424 Mon Sep 17 00:00:00 2001 From: fgerlits Date: Thu, 17 Aug 2006 14:50:10 +0000 Subject: [PATCH] minor bugfix: handled a previously uncaught error condition --- livesupport/src/products/gLiveSupport/src/GLiveSupport.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/livesupport/src/products/gLiveSupport/src/GLiveSupport.cxx b/livesupport/src/products/gLiveSupport/src/GLiveSupport.cxx index 924e55a9e..6384e53ec 100644 --- a/livesupport/src/products/gLiveSupport/src/GLiveSupport.cxx +++ b/livesupport/src/products/gLiveSupport/src/GLiveSupport.cxx @@ -799,8 +799,12 @@ GLiveSupport :: acquirePlayable(Ptr::Ref id) } else if (existsAudioClip(id)) { playable = acquireAudioClip(id); - } + } else { + throw XmlRpcInvalidArgumentException( + "invalid ID in GLiveSupport::acquirePlayable"); + } + return playable; }