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 / NotBoundException.java < prev    next >
Encoding:
Java Source  |  1999-05-28  |  1.5 KB  |  55 lines  |  [TEXT/CWIE]

  1. /*
  2.  * @(#)NotBoundException.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.  * A <code>NotBoundException</code> is thrown if an attempt
  18.  * is made to lookup or unbind in the registry a name that has
  19.  * no 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#lookup(String)
  26.  * @see     java.rmi.Naming#unbind(String)
  27.  * @see     java.rmi.registry.Registry#lookup(String)
  28.  * @see     java.rmi.registry.Registry#unbind(String) 
  29.  */
  30. public class NotBoundException extends java.lang.Exception {
  31.  
  32.     /* indicate compatibility with JDK 1.1.x version of class */
  33.     private static final long serialVersionUID = -1857741824849069317L;
  34.  
  35.     /**
  36.      * Constructs a <code>NotBoundException</code> with no
  37.      * specified detail message.
  38.      * @since JDK1.1
  39.      */
  40.     public NotBoundException() {
  41.     super();
  42.     }
  43.  
  44.     /**
  45.      * Constructs a <code>NotBoundException</code> with the specified
  46.      * detail message.
  47.      *
  48.      * @param s the detail message
  49.      * @since JDK1.1
  50.      */
  51.     public NotBoundException(String s) {
  52.     super(s);
  53.     }
  54. }
  55.