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