01: /*
02: * Copyright (c) 2002-2006 by OpenSymphony
03: * All rights reserved.
04: */
05: package com.opensymphony.xwork.util;
06:
07: import com.opensymphony.xwork.XworkException;
08:
09: /**
10: * TypeConversionException should be thrown by any TypeConverters which fail to convert values
11: *
12: * @author Jason Carreira
13: * Created Oct 3, 2003 12:18:33 AM
14: */
15: public class TypeConversionException extends XworkException {
16:
17: /**
18: * Constructs a <code>XworkException</code> with no detail message.
19: */
20: public TypeConversionException() {
21: }
22:
23: /**
24: * Constructs a <code>XworkException</code> with the specified
25: * detail message.
26: *
27: * @param s the detail message.
28: */
29: public TypeConversionException(String s) {
30: super (s);
31: }
32:
33: /**
34: * Constructs a <code>XworkException</code> with no detail message.
35: */
36: public TypeConversionException(Throwable cause) {
37: super (cause);
38: }
39:
40: /**
41: * Constructs a <code>XworkException</code> with the specified
42: * detail message.
43: *
44: * @param s the detail message.
45: */
46: public TypeConversionException(String s, Throwable cause) {
47: super(s, cause);
48: }
49: }
|