Lines Matching refs:MIDIFileException
205 class MIDIFileException (Exception): class
262 raise MIDIFileException(stream, 'Unexpected EOF')
411 raise MIDIFileException(stream, MSG_TYPE_MISMATCH)
445 raise MIDIFileException(stream, MSG_TYPE_MISMATCH)
476 raise MIDIFileException(stream, MSG_TYPE_MISMATCH)
502 raise MIDIFileException(stream, MSG_TYPE_MISMATCH)
530 raise MIDIFileException(stream, MSG_TYPE_MISMATCH)
556 raise MIDIFileException(stream, MSG_TYPE_MISMATCH)
580 raise MIDIFileException(stream, MSG_TYPE_MISMATCH)
604 raise MIDIFileException(stream, MSG_TYPE_MISMATCH)
634 raise MIDIFileException(stream, MSG_TYPE_MISMATCH)
666 raise MIDIFileException(stream, MSG_TYPE_MISMATCH)
700 raise MIDIFileException(stream, MSG_TYPE_MISMATCH)
991 raise MIDIFileException(stream, MSG_INVALID_TRACK_HEADER)
1288 raise MIDIFileException(self, MSG_NOT_SMF_FILE)
1321 raise MIDIFileException(self, 'Cannot write to file in read-only mode')
1565 except MIDIFileException, X: