home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 November / Chip_1998-11_cd.bin / tema / Cafe / main.bin / UTFDataFormatException.java < prev    next >
Text File  |  1997-05-20  |  2KB  |  61 lines

  1. /*
  2.  * @(#)UTFDataFormatException.java    1.3 97/01/22
  3.  * 
  4.  * Copyright (c) 1995, 1996 Sun Microsystems, Inc. All Rights Reserved.
  5.  * 
  6.  * This software is the confidential and proprietary information of Sun
  7.  * Microsystems, Inc. ("Confidential Information").  You shall not
  8.  * disclose such Confidential Information and shall use it only in
  9.  * accordance with the terms of the license agreement you entered into
  10.  * with Sun.
  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
  15.  * PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES
  16.  * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
  17.  * THIS SOFTWARE OR ITS DERIVATIVES.
  18.  * 
  19.  * CopyrightVersion 1.1_beta
  20.  * 
  21.  */
  22.  
  23. package java.io;
  24.  
  25. /**
  26.  * Signals that a malformed UTF-8 string has been read in a data 
  27.  * input stream or by any class that implements the data input 
  28.  * interface. See the <code>writeUTF</code> method for the format in 
  29.  * which UTF-8 strings are read and written.
  30.  *
  31.  * @author  Frank Yellin
  32.  * @version 1.3, 01/22/97
  33.  * @see     java.io.DataInput
  34.  * @see     java.io.DataInputStream#readUTF(java.io.DataInput)
  35.  * @see     java.io.IOException
  36.  * @since   JDK1.0
  37.  */
  38. public
  39. class UTFDataFormatException extends IOException {
  40.     /**
  41.      * Constructs a <code>UTFDataFormatException</code> with no detail 
  42.      * message. 
  43.      *
  44.      * @since   JDK1.0
  45.      */
  46.     public UTFDataFormatException() {
  47.     super();
  48.     }
  49.  
  50.     /**
  51.      * Constructs a <code>UTFDataFormatException</code> with the 
  52.      * specified detail message. 
  53.      *
  54.      * @param   s   the detail message.
  55.      * @since   JDK1.0
  56.      */
  57.     public UTFDataFormatException(String s) {
  58.     super(s);
  59.     }
  60. }
  61.