KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * Buffer Overflow Exception
3  * Copyright (C) 2002 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 package com.Ostermiller.util;
19
20 import java.io.IOException JavaDoc;
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 JavaDoc {
29
30     /**
31      * Create a new Exception
32      *
33      * @since ostermillerutils 1.00.00
34      */

35     public BufferOverflowException(){
36         super();
37     }
38
39     /**
40      * Create a new Exception with the given message.
41      *
42      * @param msg Error message.
43      *
44      * @since ostermillerutils 1.00.00
45      */

46     public BufferOverflowException(String JavaDoc msg){
47         super(msg);
48     }
49 }
50
Popular Tags