KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > info > magnolia > exchange > ChannelException


1 /**
2  *
3  * Magnolia and its source-code is licensed under the LGPL.
4  * You may copy, adapt, and redistribute this file for commercial or non-commercial use.
5  * When copying, adapting, or redistributing this document in keeping with the guidelines above,
6  * you are required to provide proper attribution to obinary.
7  * If you reproduce or distribute the document without making any substantive modifications to its content,
8  * please use the following attribution line:
9  *
10  * Copyright 1993-2006 obinary Ltd. (http://www.obinary.com) All rights reserved.
11  *
12  */

13 package info.magnolia.exchange;
14
15 import info.magnolia.cms.core.BaseException;
16
17 import org.apache.commons.lang.StringUtils;
18
19
20 /**
21  * Date: May 4, 2004 Time: 5:31:19 PM
22  * @author Sameer Charles
23  */

24 public class ChannelException extends BaseException {
25
26     /**
27      * Stable serialVersionUID.
28      */

29     private static final long serialVersionUID = 222L;
30
31     public ChannelException() {
32         super(StringUtils.EMPTY);
33     }
34
35     public ChannelException(String JavaDoc message) {
36         super(message);
37     }
38
39     public ChannelException(String JavaDoc message, Exception JavaDoc cause) {
40         super(message, (cause instanceof ChannelException) ? ((ChannelException) cause).getCause() : cause);
41     }
42
43     public ChannelException(Exception JavaDoc root) {
44         super(root);
45     }
46 }
47
Popular Tags