1 package com.daffodilwoods.daffodildb.server.serversystem.dmlvalidation.triggersystem; 2 3 import com.daffodilwoods.database.resource.*; 4 5 11 public class TriggerException extends DException{ 12 13 public TriggerException(String sqlCode, Object [] parameters, DException temp) { 14 super(sqlCode, parameters); 15 this.prevException = temp; 16 } 17 18 22 public DException getPreviousException(){ 23 return (prevException==null) ? null : prevException; 24 } 25 26 public TriggerException(String sqlCode, Object [] parameters) { 27 super(sqlCode, parameters); 28 } 29 30 35 public String getMessage(java.util.Locale locale) { 36 return super.getMessage(locale); 37 } 38 } 39 | Popular Tags |