Version 3.6.0.4, tag libreoffice-3.6.0.4
[LibreOffice.git] / reportbuilder / java / com / sun / star / report / ReportExecutionException.java
blob6fc8fb1ac29f5513731557cb58bbd41e9b3a670d
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
27 package com.sun.star.report;
29 public class ReportExecutionException extends Exception
32 /**
33 * Constructs a new exception with <code>null</code> as its detail message. The cause is
34 * not initialized, and may subsequently be initialized by a call to {@link
35 * #initCause}.
37 public ReportExecutionException()
41 /**
42 * Constructs a new exception with the specified cause and a detail message of
43 * <tt>(cause==null ? null : cause.toString())</tt> (which typically contains the class
44 * and detail message of <tt>cause</tt>). This constructor is useful for exceptions that
45 * are little more than wrappers for other throwables (for example, {@link
46 * java.security.PrivilegedActionException}).
48 * @param cause the cause (which is saved for later retrieval by the {@link #getCause()}
49 * method). (A <tt>null</tt> value is permitted, and indicates that the
50 * cause is nonexistent or unknown.)
51 * @since 1.4
53 public ReportExecutionException(Throwable cause)
55 super(cause);
58 /**
59 * Constructs a new exception with the specified detail message. The cause is not
60 * initialized, and may subsequently be initialized by a call to {@link #initCause}.
62 * @param message the detail message. The detail message is saved for later retrieval by
63 * the {@link #getMessage()} method.
65 public ReportExecutionException(String message)
67 super(message);
70 /**
71 * Constructs a new exception with the specified detail message and cause. <p>Note that
72 * the detail message associated with <code>cause</code> is <i>not</i> automatically
73 * incorporated in this exception's detail message.
75 * @param message the detail message (which is saved for later retrieval by the {@link
76 * #getMessage()} method).
77 * @param cause the cause (which is saved for later retrieval by the {@link
78 * #getCause()} method). (A <tt>null</tt> value is permitted, and
79 * indicates that the cause is nonexistent or unknown.)
80 * @since 1.4
82 public ReportExecutionException(String message, Throwable cause)
84 super(message, cause);