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   * <p>Exception occurs when a content model item is not unique.</p>
20   *
21   * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
22   * @version $Id: CmsNotUniqueException.java,v 1.1 2004/12/22 21:16:12 christophe Exp $
23   */
24  
25  public class CmsNotUniqueException extends ContentManagementException
26  {
27      /***
28       * Default Constructor without information.
29       */
30      public CmsNotUniqueException()
31      {
32          super();
33      }
34  
35      /***
36       * Constructor with message.
37       * 
38       * @param message the message associated to the exception
39       */
40      public CmsNotUniqueException(String message)
41      {
42          super(message);
43      }
44  
45      /***
46       * Constructor with throwable object.
47       * 
48       * @param nested the associated throwable object
49       */
50      public CmsNotUniqueException(Throwable nested)
51      {
52          super(nested);
53      }
54  
55      /***
56       * Constructor with message and throwable object.
57       * 
58       * @param message the message associated to the exception
59       * @param nested the associated throwable object
60       */
61      public CmsNotUniqueException(String message, Throwable nested)
62      {
63          super(message, nested);
64      }
65  
66  }
67