src/share/classes/javax/sound/midi/MetaMessage.java

Print this page

        

*** 147,157 **** * * @param type meta-message type (must be less than 128) * @param data the data bytes in the MIDI message * @param length the number of bytes in the <code>data</code> * byte array ! * @throws <code>InvalidMidiDataException</code> if the * parameter values do not specify a valid MIDI meta message */ public void setMessage(int type, byte[] data, int length) throws InvalidMidiDataException { if (type >= 128 || type < 0) { --- 147,157 ---- * * @param type meta-message type (must be less than 128) * @param data the data bytes in the MIDI message * @param length the number of bytes in the <code>data</code> * byte array ! * @throws InvalidMidiDataException if the * parameter values do not specify a valid MIDI meta message */ public void setMessage(int type, byte[] data, int length) throws InvalidMidiDataException { if (type >= 128 || type < 0) {