File: mpexceptions.py

package info (click to toggle)
pyglet 1.5.27%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 14,356 kB
  • sloc: python: 98,028; ansic: 171; makefile: 148; sh: 9
file content (43 lines) | stat: -rw-r--r-- 1,311 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43

class ExceptionPygletMediaPlayerTesting(Exception):
    pass

class ExceptionUndefinedSamplesDir(ExceptionPygletMediaPlayerTesting):
    pass

class ExceptionSamplesDirDoesNotExist(ExceptionPygletMediaPlayerTesting):
    pass

class ExceptionSessionExistWithSameName(ExceptionPygletMediaPlayerTesting):
    pass

class ExceptionNoSessionIsActive(ExceptionPygletMediaPlayerTesting):
    pass

class ExceptionNoSessionWithThatName(ExceptionPygletMediaPlayerTesting):
    pass

class ExceptionAttemptToBreakRawDataProtection(ExceptionPygletMediaPlayerTesting):
    pass

class ExceptionAttemptToBrekReportsProtection(ExceptionPygletMediaPlayerTesting):
    pass

class ExceptionPlaylistFileDoNotExists(ExceptionPygletMediaPlayerTesting):
    pass

class ExceptionBadSampleInPlaylist(ExceptionPygletMediaPlayerTesting):
    def __init__(self, rejected):
        self.rejected = rejected
        super(ExceptionBadSampleInPlaylist, self).__init__()

class ExceptionUnknownReport(ExceptionPygletMediaPlayerTesting):
    def __init__(self, rpt_name):
        self.rpt_name = rpt_name

class ExceptionNoDbgFilesPresent(ExceptionPygletMediaPlayerTesting):
    pass

class ExceptionUnknownOutputFormat(ExceptionPygletMediaPlayerTesting):
    def __init__(self, output_format):
        self.output_format = output_format