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 /***
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 }