source: contrib/funambol/trunk/modules/psync/src/main/java/br/com/prognus/psync/exception/EntityException.java @ 2082

Revision 2082, 1.6 KB checked in by emersonfaria, 14 years ago (diff)

Ticket #927 - Reestruturacao dos diretorios do Funambol

Line 
1/**
2 *
3 * @author Diorgenes Felipe Grzesiuk <diorgenes@prognus.com.br>
4 * @copyright Copyright 2007-2008 Prognus
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as published by
8 * the Free Software Foundation.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with Foobar; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18 */
19package br.com.prognus.psync.exception;
20
21public class EntityException extends Exception {
22
23        /**
24         * Creates a new instance of <code>EntityException</code> without detail
25         * message.
26         */
27        public EntityException() {
28
29        }
30
31        /**
32         * Constructs an instance of <code>EntityException</code> with the
33         * specified detail message.
34         *
35         * @param msg
36         *            the detail message.
37         */
38        public EntityException(String msg) {
39                super(msg);
40        }
41
42        /**
43         * Constructs an instance of <code>EntityException</code> with the
44         * specified exception.
45         *
46         * @param cause
47         *            Throwable
48         */
49        public EntityException(Throwable cause) {
50                super(cause);
51        }
52
53        /**
54         * Constructs an instance of <code>EntityException</code> with the
55         * specified detail message.
56         *
57         * @param msg
58         *            String
59         * @param cause
60         *            Throwable
61         */
62        public EntityException(String msg, Throwable cause) {
63                super(msg, cause);
64        }
65
66}
Note: See TracBrowser for help on using the repository browser.