home *** CD-ROM | disk | FTP | other *** search
/ ActiveX Programming Unleashed CD / AXU.iso / jgl_1_1 / jgl_1_1.exe / src / InvalidOperationException.java < prev    next >
Encoding:
Java Source  |  1996-09-10  |  923 b   |  36 lines

  1. // Copyright(c) 1996 ObjectSpace, Inc.
  2. // Portions Copyright(c) 1995, 1996 Hewlett-Packard Company.
  3.  
  4. package jgl;
  5.  
  6. /**
  7.  * InvalidOperationException is a runtime exception that is thrown when a container
  8.  * is asked to perform an inappropriate operation.
  9.  * <p>
  10.  * @version 1.1
  11.  * @author ObjectSpace, Inc.
  12.  */
  13.  
  14. public class InvalidOperationException extends RuntimeException 
  15.   {
  16.   /**
  17.    * Constructs a InvalidOperationException with no detail message.
  18.    * A detail message is a String that describes this particular exception.
  19.    */
  20.   public InvalidOperationException() 
  21.     {
  22.     }
  23.  
  24.   /**
  25.    * Constructs a InvalidOperationException with the specified detail message.
  26.    * A detail message is a String that describes this particular exception.
  27.    * @param message The detail message.
  28.    */
  29.   public InvalidOperationException( String message ) 
  30.     {
  31.     super( message );
  32.     }
  33.   }
  34.  
  35.  
  36.