1 5 package com.teamkonzept.db; 6 7 import java.sql.*; 8 9 public class TKIllegalConversionException extends SQLException 10 { 11 String from_type = null; 12 String to_type = null; 13 14 public TKIllegalConversionException( final String from_type, 15 final String to_type ) 16 { 17 super( "unable to convert " + from_type + " to " + to_type ); 18 19 this.from_type = from_type; 20 this.to_type = to_type; 21 } 22 public String toString() 23 { 24 return getMessage(); 25 } 26 } 29 30 | Popular Tags |