KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > sync4j > server > admin > AdminException


1 /**
2  * Copyright (C) 2003-2005 Funambol
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17  */

18
19 package sync4j.server.admin;
20
21 /**
22  * This exception class represents an error condition in the management domain.
23  * Note this is not the case of low level server errors such as database errors,
24  * but it is for high level errors like "user already present" or "you can't
25  * do this if you do not do that first".
26  *
27  * Note also, that the message exception should be a human, final user readeable
28  * message (it must be meaningfull for the end user).
29  *
30  * @author Stefano Fornari
31  * @version $Id: AdminException.java,v 1.3 2005/03/02 20:57:39 harrie Exp $
32  */

33 public class AdminException extends Exception JavaDoc {
34     
35     /** Creates a new instance of AdminException */
36     public AdminException() {
37         super();
38     }
39     
40     /** Creates a new instance of AdminException */
41     public AdminException(String JavaDoc msg) {
42         super(msg);
43     }
44     
45     /** Creates a new instance of AdminException */
46     public AdminException(String JavaDoc msg, Throwable JavaDoc cause) {
47         super(msg, cause);
48     }
49 }
Popular Tags