KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jivesoftware > messenger > group > GroupNotFoundException


1 /**
2  * $RCSfile: GroupNotFoundException.java,v $
3  * $Revision: 1.2 $
4  * $Date: 2004/12/01 19:00:10 $
5  *
6  * Copyright (C) 2004 Jive Software. All rights reserved.
7  *
8  * This software is published under the terms of the GNU Public License (GPL),
9  * a copy of which is included in this distribution.
10  */

11
12 package org.jivesoftware.messenger.group;
13
14 /**
15  * Thrown when unable to find or load a group.
16  *
17  * @author Matt Tucker
18  */

19 public class GroupNotFoundException extends Exception JavaDoc {
20
21     /**
22      * Constructs a new exception with null as its detail message. The cause is not
23      * initialized, and may subsequently be initialized by a call to
24      * {@link #initCause(Throwable) initCause}.
25      */

26     public GroupNotFoundException() {
27         super();
28     }
29
30     /**
31      * Constructs a new exception with the specified detail message. The cause is
32      * not initialized, and may subsequently be initialized by a call to
33      * {@link #initCause(Throwable) initCause}.
34      *
35      * @param message the detail message. The detail message is saved for later
36      * retrieval by the {@link #getMessage()} method.
37      */

38     public GroupNotFoundException(String JavaDoc message) {
39         super(message);
40     }
41
42     /**
43      * Constructs a new exception with the specified detail message and cause.<p>
44      *
45      * Note that the detail message associated with cause is not automatically incorporated
46      * in this exception's detail message.
47      *
48      * @param message the detail message (which is saved for later retrieval by the
49      * {@link #getMessage()} method).
50      * @param cause the cause (which is saved for later retrieval by the
51      * {@link #getCause()} method). (A null value is permitted, and indicates
52      * that the cause is nonexistent or unknown.)
53      */

54     public GroupNotFoundException(String JavaDoc message, Throwable JavaDoc cause) {
55         super(message, cause);
56     }
57
58     /**
59      * Constructs a new exception with the specified cause and a detail message of
60      * (cause==null ? null : cause.toString()) (which typically contains the class and
61      * detail message of cause). This constructor is useful for exceptions that are
62      * little more than wrappers for other throwables (for example,
63      * java.security.PrivilegedActionException).
64      *
65      * @param cause the cause (which is saved for later retrieval by the
66      * {@link #getCause()} method). (A null value is permitted, and indicates
67      * that the cause is nonexistent or unknown.)
68      */

69     public GroupNotFoundException(Throwable JavaDoc cause) {
70         super(cause);
71     }
72 }
Popular Tags