28 /**
29 * Thrown when a problem with configuration with the Parser Factories
30 * exists. This error will typically be thrown when the class of a
31 * parser factory specified in the system properties cannot be found
32 * or instantiated.
33 *
34 * @author <a href="mailto:Jeff.Suttor@Sun.com">Jeff Suttor</a>
35 * @version $Revision: 1.7 $, $Date: 2010-11-01 04:36:09 $
36 */
37
38 public class FactoryConfigurationError extends Error {
39 private static final long serialVersionUID = -827108682472263355L;
40
41 /**
42 *<code>Exception</code> that represents the error.
43 */
44 private Exception exception;
45
46 /**
47 * Create a new <code>FactoryConfigurationError</code> with no
48 * detail mesage.
49 */
50
51 public FactoryConfigurationError() {
52 super();
53 this.exception = null;
54 }
55
56 /**
57 * Create a new <code>FactoryConfigurationError</code> with
58 * the <code>String </code> specified as an error message.
59 *
60 * @param msg The error message for the exception.
61 */
62
63 public FactoryConfigurationError(String msg) {
64 super(msg);
65 this.exception = null;
66 }
67
68
|
28 /**
29 * Thrown when a problem with configuration with the Parser Factories
30 * exists. This error will typically be thrown when the class of a
31 * parser factory specified in the system properties cannot be found
32 * or instantiated.
33 *
34 * @author <a href="mailto:Jeff.Suttor@Sun.com">Jeff Suttor</a>
35 * @version $Revision: 1.7 $, $Date: 2010-11-01 04:36:09 $
36 */
37
38 public class FactoryConfigurationError extends Error {
39 private static final long serialVersionUID = -827108682472263355L;
40
41 /**
42 *<code>Exception</code> that represents the error.
43 */
44 private Exception exception;
45
46 /**
47 * Create a new <code>FactoryConfigurationError</code> with no
48 * detail message.
49 */
50
51 public FactoryConfigurationError() {
52 super();
53 this.exception = null;
54 }
55
56 /**
57 * Create a new <code>FactoryConfigurationError</code> with
58 * the <code>String </code> specified as an error message.
59 *
60 * @param msg The error message for the exception.
61 */
62
63 public FactoryConfigurationError(String msg) {
64 super(msg);
65 this.exception = null;
66 }
67
68
|