1 package com.daffodilwoods.database.general; 2 3 import com.daffodilwoods.database.resource.*; 4 public class IllegalColumnException extends DException{ 5 6 private DException prevException; 7 8 public IllegalColumnException(String sqlCode, Object [] parameters, DException temp) { 9 super(sqlCode, parameters); 10 this.prevException = temp; 11 } 12 13 public DException getPreviousException(){ 14 return (prevException==null) ? null : prevException; 15 } 16 17 public IllegalColumnException(String sqlcode, Object [] parameters) { 18 super(sqlcode,parameters); 19 } 20 21 public IllegalColumnException(String sqlcode, String parameters) { 22 super(sqlcode , new Object [] {parameters}); 23 throw new UnsupportedOperationException ("Method not Supported"); 24 } 25 public IllegalColumnException(String sqlcode, int t) { 26 super(sqlcode , new Object [] {new Integer (t)}); 27 throw new UnsupportedOperationException ("Method not Supported"); 28 } 29 } 30 | Popular Tags |