KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > pipelines > PipelineException


1 /*
2  * Copyright 2000-2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
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 package org.jahia.pipelines;
17
18 /**
19  * Occurs when anything unexpected happens within the Pipeline.
20  *
21  * @author <a HREF="mailto:david@bluesunrise.com">David Sean Taylor</a>
22  * @version $Id: PipelineException.java 6702 2004-05-28 15:34:30Z shuber $
23  */

24
25 public class PipelineException extends Exception JavaDoc {
26
27     Throwable JavaDoc nested = null;
28
29     public PipelineException () {
30         super();
31     }
32
33     public PipelineException (String JavaDoc message) {
34         super(message);
35     }
36
37     public PipelineException (Throwable JavaDoc nested) {
38         super();
39         this.nested = nested;
40     }
41
42     public PipelineException (String JavaDoc msg, Throwable JavaDoc nested) {
43         super(msg);
44         this.nested = nested;
45     }
46     public Throwable JavaDoc getNested() {
47         return nested;
48     }
49
50 }
51
Popular Tags