KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ofbiz > accounting > AccountingException


1 /*
2  * Copyright (c) 2003-2006 The Open For Business Project - www.ofbiz.org
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a
5  * copy of this software and associated documentation files (the "Software"),
6  * to deal in the Software without restriction, including without limitation
7  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8  * and/or sell copies of the Software, and to permit persons to whom the
9  * Software is furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice shall be included
12  * in all copies or substantial portions of the Software.
13  *
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17  * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
18  * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
19  * OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
20  * THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21  *
22  * @author Leon Torres (leon@opensourcestrategies.com)
23  */

24
25 package org.ofbiz.accounting;
26
27 import org.ofbiz.service.GenericServiceException;
28
29 /**
30  * Accounting Exceptions are to be distinguished from other exceptions as
31  * serious problems in configuration, execution or logic in the Accounting
32  * components that could lead to errors in Invoices, the General Ledger,
33  * and Payments. When one of these occurs, make sure to reconcile the
34  * affected data.
35  */

36 public class AccountingException extends GenericServiceException {
37
38     public AccountingException() {
39         super();
40     }
41
42     public AccountingException(Throwable JavaDoc throwable) {
43         super(throwable);
44     }
45
46     public AccountingException(String JavaDoc string) {
47         super(string);
48     }
49
50     public AccountingException(String JavaDoc string, Throwable JavaDoc throwable) {
51         super(string, throwable);
52     }
53 }
54
Popular Tags