KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > blandware > atleap > webapp > exception > MenuUtilException


1 /*
2  * Copyright 2004 Blandware (http://www.blandware.com)
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 package com.blandware.atleap.webapp.exception;
17
18 /**
19  * <p>Thrown when something wrong happens in MenuUtil</p>
20  * <p><a HREF="MenuUtilException.java.htm"><i>View Source</i></a></p>
21  *
22  * @author Sergey Zubtcovskii <a HREF="mailto:sergey.zubtcovskii@blandware.com">&lt;sergey.zubtcovskii@blandware.com&gt;</a>
23  * @version $Revision: 1.1 $ $Date: 2005/01/25 19:52:14 $
24  */

25 public class MenuUtilException extends Exception JavaDoc {
26
27     /**
28      * Creates a new instance of MenuUtilException without detail message.
29      */

30     public MenuUtilException() {
31     }
32
33
34     /**
35      * Constructs an instance of MenuUtilException with the specified detail message.
36      *
37      * @param msg The detail message.
38      */

39     public MenuUtilException(String JavaDoc msg) {
40         super(msg);
41     }
42
43     /**
44      * Creates an instance of MenuUtilException with nested exception
45      *
46      * @param e Nested exception
47      */

48     public MenuUtilException(Exception JavaDoc e) {
49         super(e);
50     }
51
52     /**
53      * Overrides toString() method in java.lang.Exception
54      */

55     public String JavaDoc toString() {
56         return "com.blandware.atleap.webapp.exception.MenuUtilException";
57     }
58
59 }
Popular Tags