01: /*
02: * Copyright 2006 Le Duc Bao, Ralf Joachim
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License"); you may not
05: * use this file except in compliance with the License. You may obtain a copy of
06: * the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12: * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13: * License for the specific language governing permissions and limitations under
14: * the License.
15: */
16: package org.castor.ddlgen;
17:
18: /**
19: * Wrong format exception.
20: *
21: * @author <a href="mailto:leducbao AT gmail DOT com">Le Duc Bao</a>
22: * @author <a href="mailto:ralf DOT joachim AT syscon DOT eu">Ralf Joachim</a>
23: * @version $Revision: 5951 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
24: * @since 1.1
25: */
26: public class WrongFormatException extends GeneratorException {
27: //--------------------------------------------------------------------------
28:
29: /** Serial version UID. */
30: private static final long serialVersionUID = -351347493789018278L;
31:
32: //--------------------------------------------------------------------------
33:
34: /**
35: * Construct WrongFormatException with given message.
36: *
37: * @param message Exception message.
38: */
39: public WrongFormatException(final String message) {
40: super (message);
41: }
42:
43: /**
44: * Construct WrongFormatException with given message and cause.
45: *
46: * @param message Exception message.
47: * @param ex Original exception cause.
48: */
49: public WrongFormatException(final String message, final Exception ex) {
50: super (message, ex);
51: }
52:
53: //--------------------------------------------------------------------------
54: }
|