src/share/classes/javax/sound/sampled/LineUnavailableException.java
Print this page
*** 24,68 ****
*/
package javax.sound.sampled;
/**
! * A <code>LineUnavailableException</code> 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
*/
- /*
- * A <code>LinenavailableException</code> is an exception indicating that a
- * line annot be opened because it is unavailable. This situation
- * arises most commonly when a line is requested when it is already in use
- * by another application.
- *
- * @author Kara Kytle
- */
-
public class LineUnavailableException extends Exception {
private static final long serialVersionUID = -2046718279487432130L;
/**
! * Constructs a <code>LineUnavailableException</code> that has
! * <code>null</code> as its error detail message.
*/
public LineUnavailableException() {
-
super();
}
/**
! * Constructs a <code>LineUnavailableException</code> that has
! * the specified detail message.
*
* @param message a string containing the error detail message
*/
! public LineUnavailableException(String message) {
!
super(message);
}
}
--- 24,57 ----
*/
package javax.sound.sampled;
/**
! * A {@code 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
*/
public class LineUnavailableException extends Exception {
+
private static final long serialVersionUID = -2046718279487432130L;
/**
! * Constructs a {@code LineUnavailableException} that has {@code null} as
! * its error detail message.
*/
public LineUnavailableException() {
super();
}
/**
! * Constructs a {@code LineUnavailableException} that has the specified
! * detail message.
*
* @param message a string containing the error detail message
*/
! public LineUnavailableException(final String message) {
super(message);
}
}