home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1997 May / Pcwk0597.iso / sybase / starbuck / java.z / UnknownServiceException.java < prev    next >
Text File  |  1996-05-03  |  2KB  |  47 lines

  1. /*
  2.  * @(#)UnknownServiceException.java    1.4 95/08/16
  3.  * 
  4.  * Copyright (c) 1994-1995 Sun Microsystems, Inc. All Rights Reserved.
  5.  * 
  6.  * Permission to use, copy, modify, and distribute this software and its
  7.  * documentation for NON-COMMERCIAL purposes and without fee is hereby
  8.  * granted provided that this copyright notice appears in all copies. Please
  9.  * refer to the file "copyright.html" for further important copyright and
  10.  * licensing information.
  11.  * 
  12.  * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
  13.  * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  14.  * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE,
  15.  * OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY
  16.  * LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR
  17.  * ITS DERIVATIVES.
  18.  */
  19.  
  20. package java.net;
  21.  
  22. import java.io.IOException;
  23.  
  24. /**
  25.  * Signals that an unknown service exception has occurred.
  26.  */
  27. public class UnknownServiceException extends IOException {
  28.  
  29.     /**
  30.      * Constructs a new UnknownServiceException with no detail message. 
  31.      * A detail message is a String that gives a specific description
  32.      * of this error. 
  33.      */
  34.     public UnknownServiceException() {
  35.     }
  36.  
  37.     /**
  38.      * Constructs a new UnknownServiceException with the specified detail message. 
  39.      * A detail message is a String that gives a specific description
  40.      * of this error. 
  41.      * @param msg the detail message
  42.      */
  43.     public UnknownServiceException(String msg) {
  44.     super(msg);
  45.     }
  46. }
  47.