1 2 /* 3 * Enhydra Java Application Server Project 4 * 5 * The contents of this file are subject to the Enhydra Public License 6 * Version 1.1 (the "License"); you may not use this file except in 7 * compliance with the License. You may obtain a copy of the License on 8 * the Enhydra web site ( http://www.enhydra.org/ ). 9 * 10 * Software distributed under the License is distributed on an "AS IS" 11 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See 12 * the License for the specific terms governing rights and limitations 13 * under the License. 14 * 15 * The Initial Developer of the Enhydra Application Server is Lutris 16 * Technologies, Inc. The Enhydra Application Server and portions created 17 * by Lutris Technologies, Inc. are Copyright Lutris Technologies, Inc. 18 * All Rights Reserved. 19 * 20 * Contributor(s): 21 * 22 * $Id: MimeEOFException.java,v 1.1 2005/07/13 11:09:06 slobodan Exp $ 23 */ 24 25 26 27 28 package com.lutris.mime; 29 30 /** 31 * Exception to indicate that an attempt was made to read beyond the end 32 * of a Multipart/Form-Data input stream. This is an internally caught 33 * exception and is never thrown outside <code>MultipartForm</code> or 34 * <code>MultipartFormStream</code>. 35 */ 36 class MimeEOFException extends Exception 37 { 38 /** 39 * Creates an MimeEOFException object with a specified reason 40 * string. 41 * 42 * @param s Reason string. 43 */ 44 MimeEOFException(String s) 45 { 46 super(s); 47 } 48 49 /** 50 * Creates a MimeEOFException object. 51 */ 52 MimeEOFException() 53 { 54 super(); 55 } 56 } 57