| 1 | |
| 2 | class ExceptionPygletMediaPlayerTesting(Exception): |
| 3 | pass |
| 4 | |
| 5 | class ExceptionUndefinedSamplesDir(ExceptionPygletMediaPlayerTesting): |
| 6 | pass |
| 7 | |
| 8 | class ExceptionSamplesDirDoesNotExist(ExceptionPygletMediaPlayerTesting): |
| 9 | pass |
| 10 | |
| 11 | class ExceptionSessionExistWithSameName(ExceptionPygletMediaPlayerTesting): |
| 12 | pass |
| 13 | |
| 14 | class ExceptionNoSessionIsActive(ExceptionPygletMediaPlayerTesting): |
| 15 | pass |
| 16 | |
| 17 | class ExceptionNoSessionWithThatName(ExceptionPygletMediaPlayerTesting): |
| 18 | pass |
| 19 | |
| 20 | class ExceptionAttemptToBreakRawDataProtection(ExceptionPygletMediaPlayerTesting): |
| 21 | pass |
| 22 | |
| 23 | class ExceptionAttemptToBrekReportsProtection(ExceptionPygletMediaPlayerTesting): |
| 24 | pass |
| 25 | |
| 26 | class ExceptionPlaylistFileDoNotExists(ExceptionPygletMediaPlayerTesting): |
| 27 | pass |
| 28 | |
| 29 | class ExceptionBadSampleInPlaylist(ExceptionPygletMediaPlayerTesting): |
| 30 | def __init__(self, rejected): |
| 31 | self.rejected = rejected |
| 32 | super().__init__() |
| 33 | |
| 34 | class ExceptionUnknownReport(ExceptionPygletMediaPlayerTesting): |
| 35 | def __init__(self, rpt_name): |
| 36 | self.rpt_name = rpt_name |
| 37 | |
| 38 | class ExceptionNoDbgFilesPresent(ExceptionPygletMediaPlayerTesting): |
| 39 | pass |
| 40 | |
| 41 | class ExceptionUnknownOutputFormat(ExceptionPygletMediaPlayerTesting): |
| 42 | def __init__(self, output_format): |
| 43 | self.output_format = output_format |