1 /* 2 * @(#)LineUnavailableException.java 1.9 03/12/19 3 * 4 * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 6 */ 7 8 package javax.sound.sampled; 9 10 /** 11 * A <code>LineUnavailableException</code> is an exception indicating that a 12 * line cannot be opened because it is unavailable. This situation 13 * arises most commonly when a requested line is already in use 14 * by another application. 15 * 16 * @author Kara Kytle 17 * @version 1.9 03/12/19 18 * @since 1.3 19 */ 20 /* 21 * A <code>LinenavailableException</code> is an exception indicating that a 22 * line annot be opened because it is unavailable. This situation 23 * arises most commonly when a line is requested when it is already in use 24 * by another application. 25 * 26 * @version 1.9 03/12/19 27 * @author Kara Kytle 28 */ 29 30 public class LineUnavailableException extends Exception { 31 32 /** 33 * Constructs a <code>LineUnavailableException</code> that has 34 * <code>null</code> as its error detail message. 35 */ 36 public LineUnavailableException() { 37 38 super(); 39 } 40 41 42 /** 43 * Constructs a <code>LineUnavailableException</code> that has 44 * the specified detail message. 45 * 46 * @param message a string containing the error detail message 47 */ 48 public LineUnavailableException(String message) { 49 50 super(message); 51 } 52 } 53 54