01: /*
02: * MCS Media Computer Software Copyright (c) 2006 by MCS
03: * -------------------------------------- Created on 13.01.2006 by w.klaas
04: *
05: * Licensed under the Apache License, Version 2.0 (the "License"); you may not
06: * use this file except in compliance with the License. You may obtain a copy of
07: * the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13: * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14: * License for the specific language governing permissions and limitations under
15: * the License.
16: */
17: package de.mcs.utils;
18:
19: /**
20: * This exception will be thrown in cases where tsome error occured in the
21: * conversions class.
22: *
23: * @author w.klaas
24: *
25: */
26: public class ConversionException extends Exception {
27:
28: /**
29: *
30: */
31: private static final long serialVersionUID = -7326424522974928879L;
32:
33: /**
34: * constructor.
35: *
36: */
37: public ConversionException() {
38: super ();
39: }
40:
41: /**
42: * Constructor with message text.
43: *
44: * @param message
45: * the message
46: */
47: public ConversionException(final String message) {
48: super (message);
49: }
50:
51: /**
52: * Constructor with message text and another exception.
53: *
54: * @param message
55: * the message
56: * @param cause
57: * Throwable
58: */
59: public ConversionException(final String message,
60: final Throwable cause) {
61: super (message, cause);
62: }
63:
64: /**
65: * Constructor with another exception.
66: *
67: * @param cause
68: * Throwable
69: */
70: public ConversionException(final Throwable cause) {
71: super(cause);
72: }
73:
74: }
|