MidiUnavailableException is thrown when a requested MIDI component
cannot be opened or created because it is unavailable. This often occurs when
a device is in use by another application. More generally, it can occur when
there is a finite number of a certain kind of resource that can be used for
some purpose, and all of them are already in use (perhaps all by this
application). For an example of the latter case, see the
setReceiver method of
Transmitter.
| Modifier and Type | Field and Description |
|---|---|
| private static final long | serialVersionUID
Use serialVersionUID from JDK 1.3 for interoperability.
|
| Access | Constructor and Description |
|---|---|
| public | MidiUnavailableException()
Constructs a |
| public | MidiUnavailableException(final String
the string to display as an error detail message message)Constructs a |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. Use serialVersionUID from JDK 1.3 for interoperability. | |
| MidiUnavailableException | back to summary |
|---|---|
| public MidiUnavailableException() Constructs a | |
| MidiUnavailableException | back to summary |
|---|---|
| public MidiUnavailableException(final String message) Constructs a
| |