Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: org/enableit/db/daf/QueryException.java


1   /* 
2    *     PROJECT          : __PROJECT_NAME__
3    *
4    *     COPYRIGHT        : Copyright (C) 1999,2000,2001,2002 enableIT.org
5    *
6    *     contact us at gpl@enableit.org.
7    * 
8    *     This program is free software; you can redistribute it and/or modify
9    *     it under the terms of the GNU General Public License as published by
10   *     the Free Software Foundation; either version 2 of the License, or
11   *     (at your option) any later version.
12   * 
13   *     This program is distributed in the hope that it will be useful,
14   *     but WITHOUT ANY WARRANTY; without even the implied warranty of
15   *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16   *     GNU General Public License for more details.
17   * 
18   *     You should have received a copy of the GNU General Public License
19   *     along with this program; if not, write to the Free Software
20   *     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
21   */ 
22  package org.enableit.db.daf;
23  
24  /** 
25   * Indicates a Bean type has not been registered with the 
26   * DataAbstractionFacadeFactory.
27   * 
28   * @version v1.0
29   * 
30   * @author __AUTHOR__
31   * 
32   */
33  public class QueryException extends java.lang.Exception
34  {
35      /**
36       * QueryException Method
37       */
38      public QueryException()
39      {
40          super();
41      }
42      /**
43       * QueryException Method
44       */
45      public QueryException(String msg)
46      {
47          super(msg);
48      }
49  
50      /**
51       * QueryException Method
52       */
53      public QueryException(String msg, Throwable rootCause)
54      {
55          super(msg);
56          this.rootCause = rootCause ; 
57      }
58  
59      public Throwable getRootCause() 
60      { 
61          return rootCause ;
62      } 
63  
64  /*
65   * Member properties
66   */
67  
68      private Throwable rootCause ; 
69  
70  }
71