KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * Binary data exception.
3  * Copyright (C) 2003 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  * <p>
25  * This class exists to fix a spelling error in BadDelimeterException.
26  *
27  * @author Stephen Ostermiller http://ostermiller.org/contact.pl?regarding=Java+Utilities
28  * @since ostermillerutils 1.02.20
29  * @see BadDelimeterException
30  */

31 public class BadDelimiterException extends BadDelimeterException {
32
33     /**
34      * Constructs an IOException with null as its error detail message.
35      *
36      * @since ostermillerutils 1.02.20
37      */

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

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