1 package com.daffodilwoods.database.sqlinitiator; 2 3 import com.daffodilwoods.database.general.*; 4 import com.daffodilwoods.database.resource.*; 5 import java.util.*; 6 public class IllegalParameters extends DatabaseException{ 7 8 private String message; 9 10 public IllegalParameters(String sqlCode, Object [] parameters, DException temp) { 11 super(sqlCode, parameters); 12 this.prevException = temp; 13 } 14 15 public DException getPreviousException(){ 16 return (prevException==null) ? null : prevException; 17 } 18 19 public IllegalParameters(String sqlCode, Object [] parameters) throws DException { 20 super(sqlCode, parameters); 21 } 22 public String getMessage(java.util.Locale locale) { 23 return super.getMessage(locale); 24 } 25 26 } 27 | Popular Tags |