]> git.sesse.net Git - vlc/blob - bindings/cil/exception.cs
Add sound volume, rate, and fullscreen support
[vlc] / bindings / cil / exception.cs
1 /*
2  * libvlc.cs - libvlc-control CIL bindings
3  *
4  * $Id$
5  */
6
7 /**********************************************************************
8  *  Copyright (C) 2007 RĂ©mi Denis-Courmont.                           *
9  *  This program is free software; you can redistribute and/or modify *
10  *  it under the terms of the GNU General Public License as published *
11  *  by the Free Software Foundation; version 2 of the license, or (at *
12  *  your option) any later version.                                   *
13  *                                                                    *
14  *  This program is distributed in the hope that it will be useful,   *
15  *  but WITHOUT ANY WARRANTY; without even the implied warranty of    *
16  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.              *
17  *  See the GNU General Public License for more details.              *
18  *                                                                    *
19  *  You should have received a copy of the GNU General Public License *
20  *  along with this program; if not, you can get it from:             *
21  *  http://www.gnu.org/copyleft/gpl.html                              *
22  **********************************************************************/
23
24 using System;
25
26 namespace VideoLAN.VLC
27 {
28     /**
29      * Base class for managed LibVLC exceptions
30      */
31     public class MediaException : Exception
32     {
33         public MediaException ()
34         {
35         }
36
37         public MediaException (string message)
38             : base (message)
39         {
40         }
41
42         public MediaException (string message, Exception inner)
43            : base (message, inner)
44         {
45         }
46     };
47
48     public class PositionKeyNotSupportedException : MediaException
49     {
50         public PositionKeyNotSupportedException ()
51         {
52         }
53
54         public PositionKeyNotSupportedException (string message)
55             : base (message)
56         {
57         }
58
59         public PositionKeyNotSupportedException (string message, Exception inner)
60            : base (message, inner)
61         {
62         }
63     };
64
65     public class PositionOriginNotSupportedException : MediaException
66     {
67         public PositionOriginNotSupportedException ()
68         {
69         }
70
71         public PositionOriginNotSupportedException (string message)
72             : base (message)
73         {
74         }
75
76         public PositionOriginNotSupportedException (string message, Exception inner)
77            : base (message, inner)
78         {
79         }
80     };
81
82     public class InvalidPositionException : MediaException
83     {
84         public InvalidPositionException ()
85         {
86         }
87
88         public InvalidPositionException (string message)
89             : base (message)
90         {
91         }
92
93         public InvalidPositionException (string message, Exception inner)
94            : base (message, inner)
95         {
96         }
97     };
98
99     public class PlaylistException : MediaException
100     {
101         public PlaylistException ()
102         {
103         }
104
105         public PlaylistException (string message)
106             : base (message)
107         {
108         }
109
110         public PlaylistException (string message, Exception inner)
111            : base (message, inner)
112         {
113         }
114     };
115
116     public class InternalException : MediaException
117     {
118         public InternalException ()
119         {
120         }
121
122         public InternalException (string message)
123             : base (message)
124         {
125         }
126
127         public InternalException (string message, Exception inner)
128            : base (message, inner)
129         {
130         }
131     };
132 };