< prev index next >

src/java.desktop/share/classes/javax/sound/midi/ShortMessage.java

Print this page

        

*** 301,313 **** * if the message does not take any data bytes, both data bytes are ignored. * * @param status the MIDI status byte * @param data1 the first data byte * @param data2 the second data byte ! * @throws InvalidMidiDataException if the status byte, or all data ! * bytes belonging to the message, do not specify a valid MIDI ! * message * @see #setMessage(int, int, int, int) * @see #setMessage(int) */ public void setMessage(int status, int data1, int data2) throws InvalidMidiDataException { // check for valid values --- 301,312 ---- * if the message does not take any data bytes, both data bytes are ignored. * * @param status the MIDI status byte * @param data1 the first data byte * @param data2 the second data byte ! * @throws InvalidMidiDataException if the status byte, or all data bytes ! * belonging to the message, do not specify a valid MIDI message * @see #setMessage(int, int, int, int) * @see #setMessage(int) */ public void setMessage(int status, int data1, int data2) throws InvalidMidiDataException { // check for valid values
< prev index next >