01: /* Copyright 2001, 2004 The JA-SIG Collaborative. All rights reserved.
02: * See license distributed with this file and
03: * available online at http://www.uportal.org/license.html
04: */
05:
06: package org.jasig.portal;
07:
08: /**
09: * This exception would inform uPortal that a
10: * general rendering problem has caused a channel
11: * to throw an exception.
12: * @author Peter Kharchenko
13: * @version $Revision: 35418 $
14: */
15: public class GeneralRenderingException extends PortalException {
16:
17: /**
18: * Instantiate a generic GeneralRenderingException.
19: * Deprecated because it would be so much more helpful for you to instead
20: * throw an exception with a message.
21: */
22: public GeneralRenderingException() {
23: super ();
24: }
25:
26: /**
27: * Instantiate a GeneralRenderingException,
28: * with cause of the problem.
29: * @param cause - cause of the problem
30: */
31: public GeneralRenderingException(Throwable cause) {
32: super (cause);
33: }
34:
35: /**
36: * Instantiate a GeneralRenderingException,
37: * with a message describing the nature of the problem.
38: * @param msg - message explaining problem
39: */
40: public GeneralRenderingException(String msg) {
41: super (msg);
42: }
43:
44: /**
45: * Instantiate a GeneralRenderingException with a message
46: * and a Throwable representing the underlying cause of the problem.
47: * @param msg - message explaining the problem
48: * @param cause - underlying Throwable
49: */
50: public GeneralRenderingException(String msg, Throwable cause) {
51: super (msg, cause);
52: }
53:
54: /**
55: * Instantiate a GeneralRenderingException with a message and
56: * indicating whether channel refresh and channel reinstantiation are
57: * appropriate responses to the problem.
58: * @param msg - message explaining the problem
59: * @param refresh - true if refresh is an appropriate response
60: * @param reinstantiate - true if reinstantiation is an appropriate response
61: */
62: public GeneralRenderingException(String msg, boolean refresh,
63: boolean reinstantiate) {
64: super (msg, refresh, reinstantiate);
65: }
66:
67: /**
68: * Instantiate a GeneralRenderingException with a message and underlying
69: * cause, indicating whether channel refresh and channel reinstantiation are
70: * appropriate responses to the problem.
71: * @param msg - message explaining the problem
72: * @param cause - underlying cause of problem
73: * @param refresh - true if refresh is appropriate response
74: * @param reinstantiate - true if reinstantiation is appropriate response
75: */
76: public GeneralRenderingException(String msg, Throwable cause,
77: boolean refresh, boolean reinstantiate) {
78: super(msg, cause, refresh, reinstantiate);
79: }
80:
81: }
|