01: /*
02: * $Header: /cvsroot/webman-cms/source/webman/com/teamkonzept/db/TKIllegalConversionException.java,v 1.6 2000/06/01 15:02:52 alex Exp $
03: *
04: */
05: package com.teamkonzept.db;
06:
07: import java.sql.*;
08:
09: public class TKIllegalConversionException extends SQLException {
10: String from_type = null;
11: String to_type = null;
12:
13: public TKIllegalConversionException(final String from_type,
14: final String to_type) {
15: super ("unable to convert " + from_type + " to " + to_type);
16:
17: this .from_type = from_type;
18: this .to_type = to_type;
19: }
20:
21: public String toString() {
22: return getMessage();
23: }
24: //{{DECLARE_CONTROLS
25: //}}
26: }
|