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