KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opensubsystems > core > error > OSSDataSaveException


1 /*
2  * Copyright (c) 2003 - 2007 OpenSubsystems s.r.o. Slovak Republic. All rights reserved.
3  *
4  * Project: OpenSubsystems
5  *
6  * $Id: OSSDataSaveException.java,v 1.5 2007/01/07 06:14:50 bastafidli Exp $
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; version 2 of the License.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20  */

21  
22 package org.opensubsystems.core.error;
23
24 /**
25  * Exception thrown when there was a problem with saving data.
26  *
27  * @version $Id: OSSDataSaveException.java,v 1.5 2007/01/07 06:14:50 bastafidli Exp $
28  * @author Miro Halas
29  * @code.reviewer Miro Halas
30  * @code.reviewed 1.3 2006/02/17 06:54:08 bastafidli
31  */

32 public class OSSDataSaveException extends OSSException
33 {
34    // Attributes ///////////////////////////////////////////////////////////////
35

36    /**
37     * Generated serial version id for this class.
38     */

39    private static final long serialVersionUID = -483771618435304136L;
40
41    // Constructors /////////////////////////////////////////////////////////////
42

43    /**
44     * Create new exception
45     */

46    public OSSDataSaveException(
47    )
48    {
49       super();
50    }
51
52    /**
53     * Create new exception
54     *
55     * @param message - message to display
56     */

57    public OSSDataSaveException(
58       String JavaDoc message
59    )
60    {
61       super(message);
62    }
63
64    /**
65     * Create new exception
66     *
67     * @param message - message to display
68     * @param cause - cause for error
69     */

70    public OSSDataSaveException(
71       String JavaDoc message,
72       Throwable JavaDoc cause
73    )
74    {
75       super(message, cause);
76    }
77
78    /**
79     * Create new exception
80     *
81     * @param cause - cause for error
82     */

83    public OSSDataSaveException(
84       Throwable JavaDoc cause
85    )
86    {
87       super(cause);
88    }
89 }
90
Popular Tags