KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > util > DataConversionException


1 /***************************************
2  * *
3  * JBoss: The OpenSource J2EE WebOS *
4  * *
5  * Distributable under LGPL license. *
6  * See terms of license at gnu.org. *
7  * *
8  ***************************************/

9
10 package org.jboss.util;
11
12 /**
13  * An exception throw to indicate a problem with some type of data conversion.
14  *
15  * @version <tt>$Revision: 1.1 $</tt>
16  * @author <a HREF="mailto:jason@planet57.com">Jason Dillon</a>
17  */

18 public class DataConversionException
19    extends NestedRuntimeException
20 {
21    /**
22     * Construct a <tt>DataConversionException</tt> with a specified detail message.
23     *
24     * @param msg Detail message
25     */

26    public DataConversionException(final String JavaDoc msg) {
27       super(msg);
28    }
29
30    /**
31     * Construct a <tt>DataConversionException</tt> with a specified detail Throwable
32     * and message.
33     *
34     * @param msg Detail message
35     * @param detail Detail Throwable
36     */

37    public DataConversionException(final String JavaDoc msg, final Throwable JavaDoc detail) {
38       super(msg, detail);
39    }
40
41    /**
42     * Construct a <tt>DataConversionException</tt> with a specified detail Throwable.
43     *
44     * @param detail Detail Throwable
45     */

46    public DataConversionException(final Throwable JavaDoc detail) {
47       super(detail);
48    }
49
50    /**
51     * Construct a <tt>DataConversionException</tt> with no specified detail message.
52     */

53    public DataConversionException() {
54       super();
55    }
56 }
57
Popular Tags