home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgLangD.iso / VCAFE.3.0A / Main.bin / IllegalMonitorStateException.java < prev    next >
Text File  |  1998-09-22  |  2KB  |  54 lines

  1. /*
  2.  * @(#)IllegalMonitorStateException.java    1.5 98/07/01
  3.  *
  4.  * Copyright 1995-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.  
  15. package java.lang;
  16.  
  17. /**
  18.  * Thrown to indicate that a thread has attempted to wait on an 
  19.  * object's monitor or to notify other threads waiting on an object's
  20.  * monitor without owning the specified monitor. 
  21.  *
  22.  * @author  unascribed
  23.  * @version 1.5, 07/01/98
  24.  * @see     java.lang.Object#notify()
  25.  * @see     java.lang.Object#notifyAll()
  26.  * @see     java.lang.Object#wait() 
  27.  * @see     java.lang.Object#wait(long) 
  28.  * @see     java.lang.Object#wait(long, int) 
  29.  * @since   JDK1.0
  30.  */
  31. public
  32. class IllegalMonitorStateException extends RuntimeException {
  33.     /**
  34.      * Constructs an <code>IllegalMonitorStateException</code> with no 
  35.      * detail message. 
  36.      *
  37.      * @since   JDK1.0
  38.      */
  39.     public IllegalMonitorStateException() {
  40.     super();
  41.     }
  42.  
  43.     /**
  44.      * Constructs an <code>IllegalMonitorStateException</code> with the 
  45.      * specified detail message. 
  46.      *
  47.      * @param   s   the detail message.
  48.      * @since   JDK1.0
  49.      */
  50.     public IllegalMonitorStateException(String s) {
  51.     super(s);
  52.     }
  53. }
  54.