home *** CD-ROM | disk | FTP | other *** search
/ Apple Developer Connection Student Program / ADC Tools Sampler CD Disk 3 1999.iso / Metrowerks CodeWarrior / Java Support / Java_Source / Java2 / src / java / rmi / AlreadyBoundException.java < prev    next >
Encoding:
Java Source  |  1999-05-28  |  1.5 KB  |  53 lines  |  [TEXT/CWIE]

  1. /*
  2.  * @(#)AlreadyBoundException.java    1.7 98/09/21
  3.  *
  4.  * Copyright 1996-1998 by Sun Microsystems, Inc.,
  5.  * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
  6.  * All rights reserved.
  7.  * 
  8.  * This software is the confidential and proprietary information
  9.  * of Sun Microsystems, Inc. ("Confidential Information").  You
  10.  * shall not disclose such Confidential Information and shall use
  11.  * it only in accordance with the terms of the license agreement
  12.  * you entered into with Sun.
  13.  */
  14. package java.rmi;
  15.  
  16. /**
  17.  * An <code>AlreadyBoundException</code> is thrown if an attempt
  18.  * is made to bind an object in the registry to a name that already
  19.  * has an associated binding.
  20.  * 
  21.  * @version 1.7, 09/21/98
  22.  * @since   JDK1.1
  23.  * @author  Ann Wollrath
  24.  * @author  Roger Riggs
  25.  * @see     java.rmi.Naming#bind(String, java.rmi.Remote)
  26.  * @see     java.rmi.registry.Registry#bind(String, java.rmi.Remote)
  27.  */
  28. public class AlreadyBoundException extends java.lang.Exception {
  29.  
  30.     /* indicate compatibility with JDK 1.1.x version of class */
  31.     private static final long serialVersionUID = 9218657361741657110L;
  32.  
  33.     /**
  34.      * Constructs an <code>AlreadyBoundException</code> with no
  35.      * specified detail message.
  36.      * @since JDK1.1
  37.      */
  38.     public AlreadyBoundException() {
  39.     super();
  40.     }
  41.  
  42.     /**
  43.      * Constructs an <code>AlreadyBoundException</code> with the specified
  44.      * detail message.
  45.      *
  46.      * @param s the detail message
  47.      * @since JDK1.1
  48.      */
  49.     public AlreadyBoundException(String s) {
  50.     super(s);
  51.     }
  52. }
  53.