1
2
3
4
5
6
7
8
9
10
11
12
13
14
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