View Javadoc

1   /*
2    * Copyright 2000-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  package org.apache.portals.graffito.exception;
17  
18  
19  /***
20   * <p>Occurs when anything unexpected happens within a CMS Service or tools.</p>
21   * 
22   * This is the ancester class for all specific CMS exception.
23   *
24   * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
25   * 
26   * @version $Id: ContentManagementException.java,v 1.1 2004/12/22 21:16:12 christophe Exp $
27   */
28  
29  public class ContentManagementException extends Exception
30  {
31  
32      /***
33       * Default Constructor without information.
34       */
35      public ContentManagementException() 
36      {
37          super();
38      }
39      
40      /***
41       * Constructor with message.
42       * 
43       * @param message the message associated to the exception
44       */
45      public ContentManagementException(String message) 
46      {
47          super(message);
48      }
49      
50      /***
51       * Constructor with throwable object.
52       * 
53       * @param nested the associated throwable object
54       */    
55      public ContentManagementException(Throwable nested)
56      {
57          super(nested);
58      }
59      
60      /***
61       * Constructor with message and throwable object.
62       * 
63       * @param message the message associated to the exception
64       * @param nested the associated throwable object
65       */    
66      public ContentManagementException(String message, Throwable nested)
67      {
68          super(message, nested);
69      }
70  
71  }