KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > inversoft > util > typeconverter > TypeConversionException


1 /*
2  * Copyright (c) 2003, Inversoft
3  *
4  * This software is distribuable under the GNU Lesser General Public License.
5  * For more information visit gnu.org.
6  */

7 package com.inversoft.util.typeconverter;
8
9
10 /**
11  * This is the basic exception that gets thrown from the
12  * TypeConverter conversion methods. It supports exception
13  * stacks and will need to be rebuilt when 1.4 is fully
14  * supported.
15  *
16  * @author Brian Pontarelli
17  */

18 public class TypeConversionException extends RuntimeException JavaDoc {
19     
20     /** Creates new TypeConversionException */
21     public TypeConversionException() {
22     }
23
24     /** Creates a new TypeConversionException with the given error message */
25     public TypeConversionException(String JavaDoc msg) {
26         super(msg);
27     }
28     
29     /**
30      * Creates a new TypeConversionException with the given error message and root
31      * cause exception
32      */

33     public TypeConversionException(String JavaDoc msg, Throwable JavaDoc cause) {
34         super(msg, cause);
35     }
36 }
37
Popular Tags