KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > Ostermiller > util > BadDelimeterException


1 /*
2  * Binary data exception.
3  * Copyright (C) 2003-2004 Stephen Ostermiller
4  * http://ostermiller.org/contact.pl?regarding=Java+Utilities
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * See COPYING.TXT for details.
17  */

18
19 package com.Ostermiller.util;
20
21 /**
22  * Signals that binary data was encountered and continuing
23  * with a text operation would likely corrupt the data.
24  *
25  * This class has been replaced by BadDelimiterException. It is not deprecated,
26  * and it may be used, however the name of this class contains a spelling error.
27  *
28  * @author Stephen Ostermiller http://ostermiller.org/contact.pl?regarding=Java+Utilities
29  * @since ostermillerutils 1.02.08
30  * @see BadDelimiterException
31  */

32 public class BadDelimeterException extends RuntimeException JavaDoc {
33
34     /**
35      * Constructs an IOException with null as its error detail message.
36      *
37      * @since ostermillerutils 1.02.08
38      */

39     public BadDelimeterException(){
40         super();
41     }
42
43     /**
44      * Constructs an exception with the specified detail message.
45      * The error message string s can later be retrieved by the
46      * Throwable.getMessage() method of class java.lang.Throwable.
47      *
48      * @param s the detail message.
49      *
50      * @since ostermillerutils 1.02.08
51      */

52     public BadDelimeterException(String JavaDoc s){
53         super(s);
54     }
55 }
56
Popular Tags