KickJava   Java API By Example, From Geeks To Geeks.

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


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  * @author Stephen Ostermiller http://ostermiller.org/contact.pl?regarding=Java+Utilities
26  * @since ostermillerutils 1.02.16
27  */

28 public class BadQuoteException extends RuntimeException JavaDoc {
29
30     /**
31      * Constructs an IOException with null as its error detail message.
32      *
33      * @since ostermillerutils 1.02.16
34      */

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

48     public BadQuoteException(String JavaDoc s){
49         super(s);
50     }
51 }
52
Popular Tags