APIdia Launch Partner
Top Description Fields Constructors
javax.sound.sampled

public Class LineUnavailableException

extends Exception
Class Inheritance
Imports
java.io.Serial

A LineUnavailableException is an exception indicating that a line cannot be opened because it is unavailable. This situation arises most commonly when a requested line is already in use by another application.
Author
Kara Kytle
Since
1.3

Field Summary

Modifier and TypeField and Description
private static final long
serialVersionUID

Hides java.lang.Exception.serialVersionUID.

Use serialVersionUID from JDK 1.3 for interoperability.

Constructor Summary

AccessConstructor and Description
public
LineUnavailableException()

Constructs a LineUnavailableException that has null as its error detail message.

public
LineUnavailableException(final String
a string containing the error detail message
message
)

Constructs a LineUnavailableException that has the specified detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.Exception.serialVersionUID.

Use serialVersionUID from JDK 1.3 for interoperability.

Annotations
@Serial

Constructor Detail

LineUnavailableExceptionback to summary
public LineUnavailableException()

Constructs a LineUnavailableException that has null as its error detail message.

LineUnavailableExceptionback to summary
public LineUnavailableException(final String message)

Constructs a LineUnavailableException that has the specified detail message.

Parameters
message:String

a string containing the error detail message