1 package com.daffodilwoods.daffodildb.server.sql99.dml; 2 3 import com.daffodilwoods.database.resource.*; 4 5 public class DmlStatementException extends DException { 6 7 public DmlStatementException(String sqlCode, Object [] parameters, DException temp) { 8 super(sqlCode, parameters); 9 this.prevException = temp; 10 } 11 12 public DmlStatementException(String sqlCode, Object [] parameters) { 13 super(sqlCode, parameters); 14 } 15 16 20 21 public DException getPreviousException() { 22 return (prevException == null) ? null : prevException; 23 } 24 25 30 public String getMessage(java.util.Locale locale) { 31 return super.getMessage(locale); 32 } 33 } 34 | Popular Tags |