1. /*
  2. * @(#)AlreadyBoundException.java 1.12 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 java.rmi;
  8. /**
  9. * An <code>AlreadyBoundException</code> is thrown if an attempt
  10. * is made to bind an object in the registry to a name that already
  11. * has an associated binding.
  12. *
  13. * @version 1.12, 12/19/03
  14. * @since JDK1.1
  15. * @author Ann Wollrath
  16. * @author Roger Riggs
  17. * @see java.rmi.Naming#bind(String, java.rmi.Remote)
  18. * @see java.rmi.registry.Registry#bind(String, java.rmi.Remote)
  19. */
  20. public class AlreadyBoundException extends java.lang.Exception {
  21. /* indicate compatibility with JDK 1.1.x version of class */
  22. private static final long serialVersionUID = 9218657361741657110L;
  23. /**
  24. * Constructs an <code>AlreadyBoundException</code> with no
  25. * specified detail message.
  26. * @since JDK1.1
  27. */
  28. public AlreadyBoundException() {
  29. super();
  30. }
  31. /**
  32. * Constructs an <code>AlreadyBoundException</code> with the specified
  33. * detail message.
  34. *
  35. * @param s the detail message
  36. * @since JDK1.1
  37. */
  38. public AlreadyBoundException(String s) {
  39. super(s);
  40. }
  41. }