01: /*
02: * Copyright 2004-2007 the original author or authors.
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
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: */
17:
18: package org.jpublish.view;
19:
20: import org.jpublish.JPublishException;
21:
22: /** Exception which is thrown when an error occurs during view rendering.
23:
24: @author Anthony Eden
25: @since 2.0
26: */
27:
28: public class ViewRenderException extends JPublishException {
29:
30: /** Construct a new ViewRenderException.
31:
32: @param message The message
33: */
34:
35: public ViewRenderException(String message) {
36: super (message);
37: }
38:
39: /** Construct a new ViewRenderException.
40:
41: @param t The nested exception
42: */
43:
44: public ViewRenderException(Throwable t) {
45: super (t);
46: }
47:
48: /** Construct a new ViewRenderException.
49:
50: @param message The message
51: @param t The nested exception
52: */
53:
54: public ViewRenderException(String message, Throwable t) {
55: super(message, t);
56: }
57:
58: }
|