KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > daffodilwoods > daffodildb > server > sessionsystem > PrivilegeException


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 JavaDoc sqlCode, Object JavaDoc[] parameters, DException temp) {
7     super(sqlCode, parameters);
8     this.prevException = temp;
9   }
10
11 /**
12  * Throws previous Exception.
13  */

14
15   public DException getPreviousException(){
16     return (prevException==null) ? null : prevException;
17   }
18
19   public PrivilegeException(String JavaDoc sqlcode, Object JavaDoc[] parameters) {
20     super(sqlcode, parameters);
21   }
22
23   public String JavaDoc getMessage(java.util.Locale JavaDoc locale) {
24       return super.getMessage(locale);
25   }
26 }
27
Popular Tags