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