1*1a37d047SAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*1a37d047SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*1a37d047SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*1a37d047SAndrew Rist  * distributed with this work for additional information
6*1a37d047SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*1a37d047SAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*1a37d047SAndrew Rist  * "License"); you may not use this file except in compliance
9*1a37d047SAndrew Rist  * with the License.  You may obtain a copy of the License at
10*1a37d047SAndrew Rist  *
11*1a37d047SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*1a37d047SAndrew Rist  *
13*1a37d047SAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*1a37d047SAndrew Rist  * software distributed under the License is distributed on an
15*1a37d047SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*1a37d047SAndrew Rist  * KIND, either express or implied.  See the License for the
17*1a37d047SAndrew Rist  * specific language governing permissions and limitations
18*1a37d047SAndrew Rist  * under the License.
19*1a37d047SAndrew Rist  *
20*1a37d047SAndrew Rist  *************************************************************/
21*1a37d047SAndrew Rist 
22*1a37d047SAndrew Rist 
23cdf0e10cSrcweir package com.sun.star.report;
24cdf0e10cSrcweir 
25cdf0e10cSrcweir public class ReportExecutionException extends Exception
26cdf0e10cSrcweir {
27cdf0e10cSrcweir 
28cdf0e10cSrcweir     /**
29cdf0e10cSrcweir      * Constructs a new exception with <code>null</code> as its detail message. The cause is
30cdf0e10cSrcweir      * not initialized, and may subsequently be initialized by a call to {@link
31cdf0e10cSrcweir      * #initCause}.
32cdf0e10cSrcweir      */
ReportExecutionException()33cdf0e10cSrcweir     public ReportExecutionException()
34cdf0e10cSrcweir     {
35cdf0e10cSrcweir     }
36cdf0e10cSrcweir 
37cdf0e10cSrcweir     /**
38cdf0e10cSrcweir      * Constructs a new exception with the specified cause and a detail message of
39cdf0e10cSrcweir      * <tt>(cause==null ? null : cause.toString())</tt> (which typically contains the class
40cdf0e10cSrcweir      * and detail message of <tt>cause</tt>). This constructor is useful for exceptions that
41cdf0e10cSrcweir      * are little more than wrappers for other throwables (for example, {@link
42cdf0e10cSrcweir      * java.security.PrivilegedActionException}).
43cdf0e10cSrcweir      *
44cdf0e10cSrcweir      * @param cause the cause (which is saved for later retrieval by the {@link #getCause()}
45cdf0e10cSrcweir      *              method).  (A <tt>null</tt> value is permitted, and indicates that the
46cdf0e10cSrcweir      *              cause is nonexistent or unknown.)
47cdf0e10cSrcweir      * @since 1.4
48cdf0e10cSrcweir      */
ReportExecutionException(Throwable cause)49cdf0e10cSrcweir     public ReportExecutionException(Throwable cause)
50cdf0e10cSrcweir     {
51cdf0e10cSrcweir         super(cause);
52cdf0e10cSrcweir     }
53cdf0e10cSrcweir 
54cdf0e10cSrcweir     /**
55cdf0e10cSrcweir      * Constructs a new exception with the specified detail message.  The cause is not
56cdf0e10cSrcweir      * initialized, and may subsequently be initialized by a call to {@link #initCause}.
57cdf0e10cSrcweir      *
58cdf0e10cSrcweir      * @param message the detail message. The detail message is saved for later retrieval by
59cdf0e10cSrcweir      *                the {@link #getMessage()} method.
60cdf0e10cSrcweir      */
ReportExecutionException(String message)61cdf0e10cSrcweir     public ReportExecutionException(String message)
62cdf0e10cSrcweir     {
63cdf0e10cSrcweir         super(message);
64cdf0e10cSrcweir     }
65cdf0e10cSrcweir 
66cdf0e10cSrcweir     /**
67cdf0e10cSrcweir      * Constructs a new exception with the specified detail message and cause.  <p>Note that
68cdf0e10cSrcweir      * the detail message associated with <code>cause</code> is <i>not</i> automatically
69cdf0e10cSrcweir      * incorporated in this exception's detail message.
70cdf0e10cSrcweir      *
71cdf0e10cSrcweir      * @param message the detail message (which is saved for later retrieval by the {@link
72cdf0e10cSrcweir      *                #getMessage()} method).
73cdf0e10cSrcweir      * @param cause   the cause (which is saved for later retrieval by the {@link
74cdf0e10cSrcweir      *                #getCause()} method).  (A <tt>null</tt> value is permitted, and
75cdf0e10cSrcweir      *                indicates that the cause is nonexistent or unknown.)
76cdf0e10cSrcweir      * @since 1.4
77cdf0e10cSrcweir      */
ReportExecutionException(String message, Throwable cause)78cdf0e10cSrcweir     public ReportExecutionException(String message, Throwable cause)
79cdf0e10cSrcweir     {
80cdf0e10cSrcweir         super(message, cause);
81cdf0e10cSrcweir     }
82cdf0e10cSrcweir }
83