01: /*
02: * Copyright (C) 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 line ending was specified.
22: *
23: * @author Stephen Ostermiller http://ostermiller.org/contact.pl?regarding=Java+Utilities
24: * @since ostermillerutils 1.06.01
25: */
26: public class BadLineEndingException extends IllegalArgumentException {
27:
28: /**
29: * Serial version id
30: */
31: private static final long serialVersionUID = -3300235286182152695L;
32:
33: /**
34: * Constructs an exception with null as its error detail message.
35: *
36: * @since ostermillerutils 1.06.01
37: */
38: public BadLineEndingException() {
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.06.01
50: */
51: public BadLineEndingException(String s) {
52: super(s);
53: }
54: }
|