01: /*
02: * Binary data exception.
03: * Copyright (C) 2003-2007 Stephen Ostermiller
04: * http://ostermiller.org/contact.pl?regarding=Java+Utilities
05: *
06: * This program is free software; you can redistribute it and/or modify
07: * it under the terms of the GNU General Public License as published by
08: * the Free Software Foundation; either version 2 of the License, or
09: * (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: * An illegal quote was specified.
23: *
24: * @author Stephen Ostermiller http://ostermiller.org/contact.pl?regarding=Java+Utilities
25: * @since ostermillerutils 1.02.16
26: */
27: public class BadQuoteException extends IllegalArgumentException {
28:
29: /**
30: * serial version id
31: */
32: private static final long serialVersionUID = -5926914821468886713L;
33:
34: /**
35: * Constructs an exception with null as its error detail message.
36: *
37: * @since ostermillerutils 1.02.16
38: */
39: public BadQuoteException() {
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.16
51: */
52: public BadQuoteException(String s) {
53: super(s);
54: }
55: }
|