KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > lenya > cms > publication > PageEnvelopeException


1 /*
2  * Copyright 1999-2004 The Apache Software Foundation
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  */

17
18 /* $Id: PageEnvelopeException.java 42598 2004-03-01 16:18:28Z gregor $ */
19
20 package org.apache.lenya.cms.publication;
21
22
23 /**
24  * This exception is thrown when the creation of a {@link PageEnvelope} object fails.
25  */

26 public class PageEnvelopeException extends Exception JavaDoc {
27     /**
28      * Creates a new PageEnvelopeException.
29      */

30     public PageEnvelopeException() {
31     }
32
33     /**
34      * Creates a new PageEnvelopeException.
35      *
36      * @param message the exception message
37      */

38     public PageEnvelopeException(String JavaDoc message) {
39         super(message);
40     }
41
42     /**
43      * Creates a new PageEnvelopeException.
44      *
45      * @param message the exception message
46      * @param cause the cause of the exception
47      */

48     public PageEnvelopeException(String JavaDoc message, Throwable JavaDoc cause) {
49         super(message, cause);
50     }
51
52     /**
53      * Creates a new PageEnvelopeException.
54      *
55      * @param cause the cause of the exception
56      */

57     public PageEnvelopeException(Throwable JavaDoc cause) {
58         super(cause);
59     }
60 }
61
Popular Tags