]> git.sesse.net Git - vlc/blobdiff - bindings/libvlcpp/src/exception.cpp
Move C++ binding to a new repository vlc/bindings/libvlcpp.git
[vlc] / bindings / libvlcpp / src / exception.cpp
diff --git a/bindings/libvlcpp/src/exception.cpp b/bindings/libvlcpp/src/exception.cpp
deleted file mode 100644 (file)
index bfb254f..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-/*****************************************************************************
- * exception.cpp: Handle exceptions
- *****************************************************************************
- * Copyright (C) 2010 the VideoLAN team
- * $Id$
- *
- * Authors: RĂ©mi Duraffort <ivoire@videolan.org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
- *****************************************************************************/
-
-#include "exception.hpp"
-
-using namespace libvlc;
-
-Exception::Exception()
-{
-    libvlc_exception_init( &ex );
-}
-
-Exception::~Exception()
-{
-    if( libvlc_exception_raised( &ex ) )
-        throw libvlc_errmsg();
-    libvlc_exception_clear( &ex );
-}