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