ParserErrors.java
01 /* This file is part of the project "Hilbert II" - http://www.qedeq.org
02  *
03  * Copyright 2000-2011,  Michael Meyling <mime@qedeq.org>.
04  *
05  * "Hilbert II" is free software; you can redistribute
06  * it and/or modify it under the terms of the GNU General Public
07  * License as published by the Free Software Foundation; either
08  * version 2 of the License, or (at your option) any later version.
09  *
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 
16 package org.qedeq.kernel.xml.handler.parser;
17 
18 import org.qedeq.kernel.se.common.ErrorCodes;
19 
20 /**
21  * Error codes and messages for parser package.
22  *
23  @author  Michael Meyling
24  */
25 public interface ParserErrors extends ErrorCodes {
26 
27     /** Error code. */
28     public static final int PARSER_PROGRAMMING_ERROR_CODE = 754123000;
29 
30     /** Error message. */
31     public static final String PARSER_PROGRAMMING_ERROR_TEXT
32         "Parsing programming error.";
33 
34 
35     /** Error code. */
36     public static final int PARSER_CONFIGURATION_ERROR_CODE = 754123010;
37 
38     /** Error message. */
39     public static final String PARSER_CONFIGURATION_ERROR_TEXT
40         "Parser configuration error.";
41 
42 
43     /** Error code. */
44     public static final int XML_FILE_PARSING_FAILED_CODE = 754123020;
45 
46     /** Error message. */
47     public static final String XML_FILE_PARSING_FAILED_TEXT
48         "XML file parsing failed.";
49 
50 
51     /** Error code. */
52     public static final int PARSER_FACTORY_CONFIGURATION_CODE = 754123030;
53 
54     /** Error message. */
55     public static final String PARSER_FACTORY_CONFIGURATION_TEXT
56         "Probably SAX Parser not in classpath, "
57             "add for example \"xercesImpl.jar\" and \"xml-apis.jar\".";
58 
59 
60 }