01: /*
02: * This file is part of the WfMOpen project.
03: * Copyright (C) 2001-2003 Danet GmbH (www.danet.de), GS-AN.
04: * All rights reserved.
05: *
06: * This program is free software; you can redistribute it and/or modify
07: * it under the terms of the GNU General Public License as published by
08: * the Free Software Foundation; either version 2 of the License, or
09: * (at your option) any later version.
10: *
11: * This program is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14: * GNU General Public License for more details.
15: *
16: * You should have received a copy of the GNU General Public License
17: * along with this program; if not, write to the Free Software
18: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19: *
20: * $Id: FactoryConfigurationError.java,v 1.1.2.1 2007/11/06 13:57:41 drmlipp Exp $
21: *
22: * $Log: FactoryConfigurationError.java,v $
23: * Revision 1.1.2.1 2007/11/06 13:57:41 drmlipp
24: * Removed dependency on spis.
25: *
26: * Revision 1.3 2006/09/29 12:32:12 drmlipp
27: * Consistently using WfMOpen as projct name now.
28: *
29: * Revision 1.2 2006/03/08 14:46:43 drmlipp
30: * Synchronized with 1.3.3p5.
31: *
32: * Revision 1.1.1.1.6.1 2006/02/15 20:03:31 drmlipp
33: * Error reporting improved.
34: *
35: * Revision 1.1.1.1 2003/06/30 20:05:17 drmlipp
36: * Initial import
37: *
38: * Revision 1.2 2003/06/27 08:51:44 lipp
39: * Fixed copyright/license information.
40: *
41: * Revision 1.1 2002/12/19 21:37:42 lipp
42: * Reorganized interfaces.
43: *
44: * Revision 1.2 2002/09/18 13:00:26 lipp
45: * Renamed WorkflowEngine to WorkflowService and introduced
46: * WorkflowServiceFactory.
47: *
48: * Revision 1.1 2001/11/27 18:26:42 lipp
49: * Resource handling redesigned.
50: *
51: */
52: package de.danet.an.util.ra;
53:
54: import java.io.Serializable;
55:
56: /**
57: * This exception max be thrown by resource adapters when they
58: * detect a problem that is caused by an invalid factory configuration.
59: */
60: public class FactoryConfigurationError extends Error implements
61: Serializable {
62:
63: private static final long serialVersionUID = -3009567838182763227L;
64:
65: /**
66: * Creates a new exception.
67: * @param cause the initial cause.
68: */
69: public FactoryConfigurationError(Throwable cause) {
70: super (cause);
71: }
72:
73: /**
74: * Creates a new exception with the given message.
75: * @param msg the detail message.
76: */
77: public FactoryConfigurationError(String msg) {
78: super (msg);
79: }
80:
81: /**
82: * Creates a new exception with the given message and cause.
83: * @param msg the detail message.
84: * @param cause the initial cause.
85: */
86: public FactoryConfigurationError(String msg, Throwable cause) {
87: super(msg, cause);
88: }
89:
90: }
|