01: /*
02: * $Id: FactoryConfigurationError.java,v 1.3 2001/11/02 21:40:25 db Exp $
03: * Copyright (C) 2001 Andrew Selkirk
04: *
05: * This file is part of GNU JAXP, a library.
06: *
07: * GNU JAXP is free software; you can redistribute it and/or modify
08: * it under the terms of the GNU General Public License as published by
09: * the Free Software Foundation; either version 2 of the License, or
10: * (at your option) any later version.
11: *
12: * GNU JAXP 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: * As a special exception, if you link this library with other files to
22: * produce an executable, this library does not by itself cause the
23: * resulting executable to be covered by the GNU General Public License.
24: * This exception does not however invalidate any other reasons why the
25: * executable file might be covered by the GNU General Public License.
26: */
27:
28: package javax.xml.parsers;
29:
30: /**
31: * FactoryConfigurationError
32: * @author Andrew Selkirk
33: * @version 1.0
34: */
35: public class FactoryConfigurationError extends Error {
36:
37: //-------------------------------------------------------------
38: // Variables --------------------------------------------------
39: //-------------------------------------------------------------
40:
41: private Exception exception = null;
42:
43: //-------------------------------------------------------------
44: // Initialization ---------------------------------------------
45: //-------------------------------------------------------------
46: public FactoryConfigurationError() {
47: super ();
48: } // FactoryConfigurationError()
49:
50: public FactoryConfigurationError(String msg) {
51: super (msg);
52: } // FactoryConfigurationError()
53:
54: public FactoryConfigurationError(Exception ex) {
55: super ();
56: exception = ex;
57: } // FactoryConfigurationError()
58:
59: public FactoryConfigurationError(Exception ex, String msg) {
60: super (msg);
61: exception = ex;
62: } // FactoryConfigurationError()
63:
64: //-------------------------------------------------------------
65: // Methods ----------------------------------------------------
66: //-------------------------------------------------------------
67:
68: public String getMessage() {
69: return super .getMessage();
70: } // getMessage()
71:
72: public Exception getException() {
73: return exception;
74: } // getException()
75:
76: } // FactoryConfigurationError
|