summaryrefslogtreecommitdiff
path: root/avmedia
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-11-20 09:33:55 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-11-20 09:58:41 +0100
commitb7a71d4f69e6e9e4b739e5d408291b62e0d961bc (patch)
treec5bfc35738dff6ab615217469387af3c116e3bc8 /avmedia
parentf4d3f5a51315962c8c3864e8986cac6b7cda14a0 (diff)
Only throw exceptions that match specification
Change-Id: I3f9c692173fea9496bdda7772a8371e6a5427d3a
Diffstat (limited to 'avmedia')
-rw-r--r--avmedia/source/vlc/vlcmanager.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/avmedia/source/vlc/vlcmanager.cxx b/avmedia/source/vlc/vlcmanager.cxx
index 9894b731f743..192efdce03dd 100644
--- a/avmedia/source/vlc/vlcmanager.cxx
+++ b/avmedia/source/vlc/vlcmanager.cxx
@@ -85,7 +85,7 @@ uno::Reference< media::XPlayer > SAL_CALL Manager::createPlayer( const rtl::OUSt
throw (uno::RuntimeException)
{
if ( !m_is_vlc_found )
- throw uno::Exception();
+ throw uno::RuntimeException("VLC not found", 0);
if ( !rURL.isEmpty() )
{