01: /*
02: * $Id: StringValueConversionException.java,v 1.4 2005/01/15 19:24:06
03: * jonathanlocke Exp $ $Revision: 457783 $ $Date: 2005-10-02 12:06:33 +0200 (Sun, 02 Oct 2005) $
04: *
05: * ==============================================================================
06: * Licensed under the Apache License, Version 2.0 (the "License"); you may not
07: * use this file except in compliance with the License. You may obtain a copy of
08: * the License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing, software
13: * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14: * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15: * License for the specific language governing permissions and limitations under
16: * the License.
17: */
18: package wicket.util.string;
19:
20: /**
21: * Thrown when a string value cannot be converted to some type.
22: *
23: * @author Jonathan Locke
24: */
25: public final class StringValueConversionException extends Exception {
26: private static final long serialVersionUID = 1L;
27:
28: /**
29: * Constructor.
30: *
31: * @param message
32: * exception message
33: */
34: public StringValueConversionException(final String message) {
35: super (message);
36: }
37:
38: /**
39: * Constructor.
40: *
41: * @param message
42: * exception message
43: * @param cause
44: * exception cause
45: */
46: public StringValueConversionException(final String message,
47: final Throwable cause) {
48: super(message, cause);
49: }
50: }
|