01: /* CVS ID: $Id: UserDataException.java,v 1.1.1.1 2002/10/02 18:42:48 wastl Exp $ */
02: package net.wastl.webmail.exceptions;
03:
04: /*
05: * WebMailException.java
06: *
07: * Created: Thu Feb 4 16:55:06 1999
08: *
09: * Copyright (C) 1999-2000 Sebastian Schaffert
10: *
11: * This program is free software; you can redistribute it and/or
12: * modify it under the terms of the GNU General Public License
13: * as published by the Free Software Foundation; either version 2
14: * of the License, or (at your option) any later version.
15: *
16: * This program is distributed in the hope that it will be useful,
17: * but WITHOUT ANY WARRANTY; without even the implied warranty of
18: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19: * GNU General Public License for more details.
20: *
21: * You should have received a copy of the GNU General Public License
22: * along with this program; if not, write to the Free Software
23: * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24: */
25: /**
26: * An error corresponding to some user's data
27: *
28: *
29: * @author Sebastian Schaffert
30: * @version $Revision: 1.1.1.1 $
31: */
32:
33: public class UserDataException extends WebMailException {
34:
35: String user;
36: String domain;
37:
38: public UserDataException() {
39: super ();
40: }
41:
42: public UserDataException(String s, String user, String domain) {
43: super (s);
44: this .user = user;
45: this .domain = domain;
46: }
47:
48: public String getUser() {
49: return user;
50: }
51:
52: public String getDomain() {
53: return domain;
54: }
55:
56: } // InvalidPasswordException
|