1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 package org.apache.jetspeed.components.portletregistry;
24
25 import org.apache.pluto.om.portlet.PortletDefinition;
26
27 /***
28 * <p>
29 * FailedToStorePortletDefinitionException
30 * </p>
31 * <p>
32 *
33 * </p>
34 * @author <a href="mailto:weaver@apache.org">Scott T. Weaver</a>
35 * @version $Id: FailedToStorePortletDefinitionException.java 516881 2007-03-11 10:34:21Z ate $
36 *
37 */
38 public class FailedToStorePortletDefinitionException extends RegistryException
39 {
40
41 /***
42 *
43 */
44 public FailedToStorePortletDefinitionException()
45 {
46 super();
47
48 }
49
50 /***
51 * @param message
52 */
53 public FailedToStorePortletDefinitionException( String message )
54 {
55 super(message);
56
57 }
58
59 /***
60 * @param nested
61 */
62 public FailedToStorePortletDefinitionException( Throwable nested )
63 {
64 super(nested);
65
66 }
67
68 /***
69 * @param msg
70 * @param nested
71 */
72 public FailedToStorePortletDefinitionException( String msg, Throwable nested )
73 {
74 super(msg, nested);
75
76 }
77
78 public FailedToStorePortletDefinitionException( PortletDefinition portlet, Throwable nested )
79 {
80 this("Unable to store portlet definition "+portlet.getName()+". Reason: "+nested.toString(), nested);
81
82 }
83
84 public FailedToStorePortletDefinitionException( PortletDefinition portlet, String reason )
85 {
86 this("Unable to store portlet definition "+portlet.getName()+". Resaon: "+reason);
87 }
88
89 }