/* * @(#)AlreadyBoundException.java 1.12 03/12/19 * * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package java.rmi; /** * An AlreadyBoundException is thrown if an attempt * is made to bind an object in the registry to a name that already * has an associated binding. * * @version 1.12, 12/19/03 * @since JDK1.1 * @author Ann Wollrath * @author Roger Riggs * @see java.rmi.Naming#bind(String, java.rmi.Remote) * @see java.rmi.registry.Registry#bind(String, java.rmi.Remote) */ public class AlreadyBoundException extends java.lang.Exception { /* indicate compatibility with JDK 1.1.x version of class */ private static final long serialVersionUID = 9218657361741657110L; /** * Constructs an AlreadyBoundException with no * specified detail message. * @since JDK1.1 */ public AlreadyBoundException() { super(); } /** * Constructs an AlreadyBoundException with the specified * detail message. * * @param s the detail message * @since JDK1.1 */ public AlreadyBoundException(String s) { super(s); } }