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. package javax.sound.sampled;
  8. /**
  9. * A <code>LineUnavailableException</code> is an exception indicating that a
  10. * line cannot be opened because it is unavailable. This situation
  11. * arises most commonly when a requested line is already in use
  12. * by another application.
  13. *
  14. * @author Kara Kytle
  15. * @version 1.9 03/12/19
  16. * @since 1.3
  17. */
  18. /*
  19. * A <code>LinenavailableException</code> is an exception indicating that a
  20. * line annot be opened because it is unavailable. This situation
  21. * arises most commonly when a line is requested when it is already in use
  22. * by another application.
  23. *
  24. * @version 1.9 03/12/19
  25. * @author Kara Kytle
  26. */
  27. public class LineUnavailableException extends Exception {
  28. /**
  29. * Constructs a <code>LineUnavailableException</code> that has
  30. * <code>null</code> as its error detail message.
  31. */
  32. public LineUnavailableException() {
  33. super();
  34. }
  35. /**
  36. * Constructs a <code>LineUnavailableException</code> that has
  37. * the specified detail message.
  38. *
  39. * @param message a string containing the error detail message
  40. */
  41. public LineUnavailableException(String message) {
  42. super(message);
  43. }
  44. }