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.bo.service.latex;
17
18 import org.qedeq.kernel.se.common.ErrorCodes;
19
20
21 /**
22 * Contains the error codes for LaTeX handling.
23 *
24 * @author Michael Meyling
25 */
26 public interface LatexErrorCodes extends ErrorCodes {
27
28 /** Error (or warning) number for: ending "}" for "\qref{" not found within 1024 characters.*/
29 public static final int QREF_END_NOT_FOUND_CODE = 80007;
30
31 /** Error (or warning) text for: ending "}" for "\qref{" not found. */
32 public static final String QREF_END_NOT_FOUND_TEXT
33 = "ending \"}\" for \"\\qref{\" not found within 1024 characters";
34
35
36 /** Error (or warning) number for: empty reference: "\qref{}". */
37 public static final int QREF_EMPTY_CODE = 80008;
38
39 /** Error (or warning) text for: empty reference: "\qref{}". */
40 public static final String QREF_EMPTY_TEXT = "empty reference: \"\\qref{}\"";
41
42
43 /** Error (or warning) number for: ending "]" for "\qref{..}[" not found.*/
44 public static final int QREF_SUB_END_NOT_FOUND_CODE = 80009;
45
46 /** Error (or warning) text for: ending "]" for "\qref{..}[" not found. */
47 public static final String QREF_SUB_END_NOT_FOUND_TEXT = "ending \"]\" for \"\\qref{..}[\" not found";
48
49
50 /** Error (or warning) number for: parsing of "\qref{" failed. */
51 public static final int QREF_PARSING_EXCEPTION_CODE = 80010;
52
53 /** Error (or warning) text for: parsing of "\qref{" failed. */
54 public static final String QREF_PARSING_EXCEPTION_TEXT = "parsing of \"\\qref{\" failed";
55
56
57 /** Error (or warning) number for: expected, but not found: "{". */
58 public static final int BRACKET_START_NOT_FOUND_CODE = 80016;
59
60 /** Error (or warning) text for: expected, but not found: "{". */
61 public static final String BRACKET_START_NOT_FOUND_TEXT = "expected, but not found: \"{\"";
62
63
64 /** Error (or warning) number for: ending "}" for "{" not found. */
65 public static final int BRACKET_END_NOT_FOUND_CODE = 80017;
66
67 /** Error (or warning) text for: ending "}" for "{" not found. */
68 public static final String BRACKET_END_NOT_FOUND_TEXT = "ending \"}\" for \"{\" not found";
69
70
71 /** Error (or warning) number for: command not supported. */
72 public static final int COMMAND_NOT_SUPPORTED_CODE = 80017;
73
74 /** Error (or warning) text for: command not supported. */
75 public static final String COMMAND_NOT_SUPPORTED_TEXT = "LaTeX command not supported: ";
76
77
78 }
|