mididevicenotopenexception.java
来自「java编程的一些Applets例子。值得深入研究一下。」· Java 代码 · 共 28 行
JAVA
28 行
/* MidiDeviceNotOpenException.java
*
*/
package midi;
/**
* Thrown when an attempt is made to utilize a MIDI device before calling
* the device's Open method.
*/
public class MidiDeviceNotOpenException extends MidiException {
/**
* Constructor
*/
public MidiDeviceNotOpenException() {
super("MIDI device not open");
}
/**
* Constructor with string.
*/
public MidiDeviceNotOpenException(String string) {
super("MIDI device not open: " + string);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?