01: /*
02: * Copyright (C) 2003-2007 Stephen Ostermiller
03: * http://ostermiller.org/contact.pl?regarding=Java+Utilities
04: *
05: * This program is free software; you can redistribute it and/or modify
06: * it under the terms of the GNU General Public License as published by
07: * the Free Software Foundation; either version 2 of the License, or
08: * (at your option) any later version.
09: *
10: * This program is distributed in the hope that it will be useful,
11: * but WITHOUT ANY WARRANTY; without even the implied warranty of
12: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13: * GNU General Public License for more details.
14: *
15: * See COPYING.TXT for details.
16: */
17:
18: package com.Ostermiller.util;
19:
20: /**
21: * An Illegal delimiter was specified.
22: * <p>
23: * This class has been replaced by BadDelimiterException. It is not deprecated,
24: * and it may be used, however the name of this class contains a spelling error.
25: *
26: * @author Stephen Ostermiller http://ostermiller.org/contact.pl?regarding=Java+Utilities
27: * @since ostermillerutils 1.02.08
28: * @see BadDelimiterException
29: */
30: public class BadDelimeterException extends IllegalArgumentException {
31:
32: /**
33: * Serial version ID
34: */
35: private static final long serialVersionUID = 7603007141975623144L;
36:
37: /**
38: * Constructs an exception with null as its error detail message.
39: *
40: * @since ostermillerutils 1.02.08
41: */
42: public BadDelimeterException() {
43: super ();
44: }
45:
46: /**
47: * Constructs an exception with the specified detail message.
48: * The error message string s can later be retrieved by the
49: * Throwable.getMessage() method of class java.lang.Throwable.
50: *
51: * @param s the detail message.
52: *
53: * @since ostermillerutils 1.02.08
54: */
55: public BadDelimeterException(String s) {
56: super(s);
57: }
58: }
|