1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.rblasch.convert;
17
18 /***
19 * @author Ronald Blaschke
20 */
21 public class ConversionException extends AbstractRuntimeException {
22 /***
23 * Constructs a new throwable with <code>null</code> as its detail message.
24 * The cause is not initialized, and may subsequently be initialized by a
25 * call to {@link #initCause}.
26 */
27 public ConversionException() {
28 }
29
30 /***
31 * Construct a new exception with the specified message.
32 *
33 * @param message The message describing this exception
34 */
35 public ConversionException(final String message) {
36 super(message);
37 }
38
39 /***
40 * Construct a new exception with the specified root cause.
41 *
42 * @param cause The root cause of this exception
43 */
44 public ConversionException(final Throwable cause) {
45 super(cause);
46 }
47
48 /***
49 * Construct a new exception with the specified message and root cause.
50 *
51 * @param message The message describing this exception
52 * @param cause The root cause of this exception
53 */
54 public ConversionException(final String message, final Throwable cause) {
55 super(message, cause);
56 }
57 }