01: /*
02: * Buffer Overflow Exception
03: * Copyright (C) 2002 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: package com.Ostermiller.util;
19:
20: import java.io.IOException;
21:
22: /**
23: * An indication that there was a buffer overflow.
24: *
25: * @author Stephen Ostermiller http://ostermiller.org/contact.pl?regarding=Java+Utilities
26: * @since ostermillerutils 1.00.00
27: */
28: public class BufferOverflowException extends IOException {
29:
30: /**
31: * Serial version ID
32: */
33: private static final long serialVersionUID = -322401823167626048L;
34:
35: /**
36: * Create a new Exception
37: *
38: * @since ostermillerutils 1.00.00
39: */
40: public BufferOverflowException() {
41: super ();
42: }
43:
44: /**
45: * Create a new Exception with the given message.
46: *
47: * @param msg Error message.
48: *
49: * @since ostermillerutils 1.00.00
50: */
51: public BufferOverflowException(String msg) {
52: super(msg);
53: }
54: }
|