1. /*
  2. * @(#)AlreadyBoundException.java 1.9 00/02/02
  3. *
  4. * Copyright 1996-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package java.rmi;
  11. /**
  12. * An <code>AlreadyBoundException</code> is thrown if an attempt
  13. * is made to bind an object in the registry to a name that already
  14. * has an associated binding.
  15. *
  16. * @version 1.9, 02/02/00
  17. * @since JDK1.1
  18. * @author Ann Wollrath
  19. * @author Roger Riggs
  20. * @see java.rmi.Naming#bind(String, java.rmi.Remote)
  21. * @see java.rmi.registry.Registry#bind(String, java.rmi.Remote)
  22. */
  23. public class AlreadyBoundException extends java.lang.Exception {
  24. /* indicate compatibility with JDK 1.1.x version of class */
  25. private static final long serialVersionUID = 9218657361741657110L;
  26. /**
  27. * Constructs an <code>AlreadyBoundException</code> with no
  28. * specified detail message.
  29. * @since JDK1.1
  30. */
  31. public AlreadyBoundException() {
  32. super();
  33. }
  34. /**
  35. * Constructs an <code>AlreadyBoundException</code> with the specified
  36. * detail message.
  37. *
  38. * @param s the detail message
  39. * @since JDK1.1
  40. */
  41. public AlreadyBoundException(String s) {
  42. super(s);
  43. }
  44. }