1   /* Copyright 2002-2025 CS GROUP
2    * Licensed to CS GROUP (CS) under one or more
3    * contributor license agreements.  See the NOTICE file distributed with
4    * this work for additional information regarding copyright ownership.
5    * CS licenses this file to You under the Apache License, Version 2.0
6    * (the "License"); you may not use this file except in compliance with
7    * the License.  You may obtain a copy of the License at
8    *
9    *   http://www.apache.org/licenses/LICENSE-2.0
10   *
11   * Unless required by applicable law or agreed to in writing, software
12   * distributed under the License is distributed on an "AS IS" BASIS,
13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   * See the License for the specific language governing permissions and
15   * limitations under the License.
16   */
17  package org.orekit.errors;
18  
19  import java.util.Locale;
20  
21  import org.hipparchus.exception.Localizable;
22  
23  /**
24   * Enumeration for localized messages formats.
25   * <p>
26   * The constants in this enumeration represent the available formats as
27   * localized strings. These formats are intended to be localized using simple
28   * properties files, using the constant name as the key and the property value
29   * as the message format. The source English format is provided in the constants
30   * themselves to serve both as a reminder for developers to understand the
31   * parameters needed by each format, as a basis for translators to create
32   * localized properties files, and as a default format if some translation is
33   * missing.
34   * </p>
35   * @since 2.1
36   */
37  public enum OrekitMessages implements Localizable {
38  
39      /** INTERNAL_ERROR. */
40      INTERNAL_ERROR("internal error, please notify development team by creating a new topic at {0}"),
41  
42      /** ALTITUDE_BELOW_ALLOWED_THRESHOLD. */
43      ALTITUDE_BELOW_ALLOWED_THRESHOLD("altitude ({0} m) is below the {1} m allowed threshold"),
44  
45      /** POINT_INSIDE_ELLIPSOID. */
46      POINT_INSIDE_ELLIPSOID("point is inside ellipsoid"),
47  
48      /** TRAJECTORY_INSIDE_BRILLOUIN_SPHERE. */
49      TRAJECTORY_INSIDE_BRILLOUIN_SPHERE("trajectory inside the Brillouin sphere (r = {0})"),
50  
51      /** ALMOST_EQUATORIAL_ORBIT. */
52      ALMOST_EQUATORIAL_ORBIT("almost equatorial orbit (i = {0} degrees)"),
53  
54      /** ALMOST_CRITICALLY_INCLINED_ORBIT. */
55      ALMOST_CRITICALLY_INCLINED_ORBIT("almost critically inclined orbit (i = {0} degrees)"),
56  
57      /** UNABLE_TO_COMPUTE_MEAN_PARAMETERS. */
58      UNABLE_TO_COMPUTE_MEAN_PARAMETERS("unable to compute {0} mean parameters after {1} iterations"),
59  
60      /** NULL_PARENT_FOR_FRAME. */
61      NULL_PARENT_FOR_FRAME("null parent for frame {0}"),
62  
63      /** FRAME_ALREADY_ATTACHED. */
64      FRAME_ALREADY_ATTACHED("frame {0} is already attached to frame {1}"),
65  
66      /** FRAME_NOT_ATTACHED. */
67      FRAME_NOT_ATTACHED("frame {0} is not attached to the main frames tree"),
68  
69      /** FRAME_ANCESTOR_OF_BOTH_FRAMES. */
70      FRAME_ANCESTOR_OF_BOTH_FRAMES("frame {0} is an ancestor of both frames {1} and {2}"),
71  
72      /** FRAME_ANCESTOR_OF_NEITHER_FRAME. */
73      FRAME_ANCESTOR_OF_NEITHER_FRAME("frame {0} is an ancestor of neither frame {1} nor {2}"),
74  
75      /** FRAME_NO_NTH_ANCESTOR. */
76      FRAME_NO_NTH_ANCESTOR("frame {0} has depth {1}, it cannot have an ancestor {2} levels above"),
77  
78      /** NO_SUCH_ITRF_FRAME. */
79      NO_SUCH_ITRF_FRAME("ITRF frame {0} not found"),
80  
81      /** UNSUPPORTED_LOCAL_ORBITAL_FRAME. */
82      UNSUPPORTED_LOCAL_ORBITAL_FRAME("unsupported local orbital frame {0}"),
83  
84      /** NON_PSEUDO_INERTIAL_FRAME. */
85      NON_PSEUDO_INERTIAL_FRAME("non pseudo-inertial frame \"{0}\""),
86  
87      /** DATA_ROOT_DIRECTORY_DOES_NOT_EXIST. */
88      DATA_ROOT_DIRECTORY_DOES_NOT_EXIST("data root directory {0} does not exist"),
89  
90      /** NOT_A_DIRECTORY. */
91      NOT_A_DIRECTORY("{0} is not a directory"),
92  
93      /** NEITHER_DIRECTORY_NOR_ZIP_OR_JAR. */
94      NEITHER_DIRECTORY_NOR_ZIP_OR_JAR("{0} is neither a directory nor a zip/jar archive file"),
95  
96      /** UNABLE_TO_FIND_RESOURCE. */
97      UNABLE_TO_FIND_RESOURCE("unable to find resource {0} in classpath"),
98  
99      /** NO_EARTH_ORIENTATION_PARAMETERS_LOADED. */
100     NO_EARTH_ORIENTATION_PARAMETERS_LOADED("no Earth Orientation Parameters loaded"),
101 
102     /** MISSING_EARTH_ORIENTATION_PARAMETERS_BETWEEN_DATES. */
103     MISSING_EARTH_ORIENTATION_PARAMETERS_BETWEEN_DATES("missing Earth Orientation Parameters between {0} and {1}"),
104 
105     /** MISSING_EARTH_ORIENTATION_PARAMETERS_BETWEEN_DATES_GAP. */
106     MISSING_EARTH_ORIENTATION_PARAMETERS_BETWEEN_DATES_GAP("missing Earth Orientation Parameters between {0} and {1}, gap is {2,number,0.0##############E0} s"),
107 
108     /** NO_EARTH_ORIENTATION_PARAMETERS. */
109     NO_EARTH_ORIENTATION_PARAMETERS("missing Earth Orientation Parameters"),
110 
111     /** NOT_A_SUPPORTED_IERS_DATA_FILE. */
112     NOT_A_SUPPORTED_IERS_DATA_FILE("file {0} is not a supported IERS data file"),
113 
114     /** INCONSISTENT_DATES_IN_IERS_FILE. */
115     INCONSISTENT_DATES_IN_IERS_FILE("inconsistent dates in IERS file {0}: {1}-{2}-{3} and MJD {4}"),
116 
117     /** UNEXPECTED_DATA_AFTER_LINE_IN_FILE. */
118     UNEXPECTED_DATA_AFTER_LINE_IN_FILE("unexpected data after line {0} in file {1}: {2}"),
119 
120     /** UNEXPECTED_DATA_AT_LINE_IN_FILE. */
121     UNEXPECTED_DATA_AT_LINE_IN_FILE("unexpected data at line {0} in file {1}"),
122 
123     /** NON_CHRONOLOGICAL_DATES_IN_FILE. */
124     NON_CHRONOLOGICAL_DATES_IN_FILE("non-chronological dates in file {0}, line {1}"),
125 
126     /** NO_IERS_UTC_TAI_HISTORY_DATA_LOADED. */
127     NO_IERS_UTC_TAI_HISTORY_DATA_LOADED("no IERS UTC-TAI history data loaded"),
128 
129     /** NO_ENTRIES_IN_IERS_UTC_TAI_HISTORY_FILE. */
130     NO_ENTRIES_IN_IERS_UTC_TAI_HISTORY_FILE("no entries found in IERS UTC-TAI history file {0}"),
131 
132     /** MISSING_SERIE_J_IN_FILE. */
133     MISSING_SERIE_J_IN_FILE("missing serie j = {0} in file {1} (line {2})"),
134 
135     /** CANNOT_PARSE_BOTH_TAU_AND_GAMMA. */
136     CANNOT_PARSE_BOTH_TAU_AND_GAMMA("cannot parse both τ and γ from the same Poissons series file"),
137 
138     /** UNEXPECTED_END_OF_FILE_AFTER_LINE. */
139     UNEXPECTED_END_OF_FILE_AFTER_LINE("unexpected end of file {0} (after line {1})"),
140 
141     /** UNABLE_TO_PARSE_LINE_IN_FILE. */
142     UNABLE_TO_PARSE_LINE_IN_FILE("unable to parse line {0} of file {1}:\n{2}"),
143 
144     /** UNABLE_TO_PARSE_ELEMENT_IN_FILE. */
145     UNABLE_TO_PARSE_ELEMENT_IN_FILE("unable to parse element {0} at line {1}, file {2}"),
146 
147     /** UNABLE_TO_FIND_FILE. */
148     UNABLE_TO_FIND_FILE("unable to find file {0}"),
149 
150     /** POSITIVE_FLOW_RATE. */
151     POSITIVE_FLOW_RATE("positive flow rate (q: {0})"),
152 
153     /** NO_GRAVITY_FIELD_DATA_LOADED. */
154     NO_GRAVITY_FIELD_DATA_LOADED("no gravity field data loaded"),
155 
156     /** GRAVITY_FIELD_NORMALIZATION_UNDERFLOW. */
157     GRAVITY_FIELD_NORMALIZATION_UNDERFLOW("gravity field normalization underflow for degree {0} and order {1}"),
158 
159     /** NO_OCEAN_TIDE_DATA_LOADED. */
160     NO_OCEAN_TIDE_DATA_LOADED("no ocean tide data loaded"),
161 
162     /** OCEAN_TIDE_DATA_DEGREE_ORDER_LIMITS. */
163     OCEAN_TIDE_DATA_DEGREE_ORDER_LIMITS("ocean tide data file {0} limited to degree {1} and order {2}"),
164 
165     /** OCEAN_TIDE_LOAD_DEFORMATION_LIMITS. */
166     OCEAN_TIDE_LOAD_DEFORMATION_LIMITS("load deformation coefficients limited to degree {0}, cannot parse degree {1} term from file {2}"),
167 
168     /** POLAR_TRAJECTORY. */
169     POLAR_TRAJECTORY("polar trajectory (distance to polar axis: {0})"),
170 
171     /** UNEXPECTED_FILE_FORMAT_ERROR_FOR_LOADER. */
172     UNEXPECTED_FILE_FORMAT_ERROR_FOR_LOADER("unexpected format error for file {0} with loader {1}"),
173 
174     /** DUPLICATED_GRAVITY_FIELD_COEFFICIENT_IN_FILE. */
175     DUPLICATED_GRAVITY_FIELD_COEFFICIENT_IN_FILE("duplicated gravity field coefficient {0}({1}, {2}) in file {3}"),
176 
177     /** MISSING_GRAVITY_FIELD_COEFFICIENT_IN_FILE. */
178     MISSING_GRAVITY_FIELD_COEFFICIENT_IN_FILE("missing gravity field coefficient {0}({1}, {2}) in file {3}"),
179 
180     /** TOO_LARGE_DEGREE_FOR_GRAVITY_FIELD. */
181     TOO_LARGE_DEGREE_FOR_GRAVITY_FIELD("too large degree (n = {0}, potential maximal degree is {1})"),
182 
183     /** TOO_LARGE_ORDER_FOR_GRAVITY_FIELD. */
184     TOO_LARGE_ORDER_FOR_GRAVITY_FIELD("too large order (m = {0}, potential maximal order is {1})"),
185 
186     /** WRONG_DEGREE_OR_ORDER. */
187     WRONG_DEGREE_OR_ORDER("no term ({0}, {1}) in a {2}x{3} spherical harmonics decomposition"),
188 
189     /** SEVERAL_REFERENCE_DATES_IN_GRAVITY_FIELD. */
190     SEVERAL_REFERENCE_DATES_IN_GRAVITY_FIELD("several reference dates ({0} and {1} differ by {3,number,0.0##############E0} s) found in gravity field file {2}"),
191 
192     /** NO_TLE_FOR_OBJECT. */
193     NO_TLE_FOR_OBJECT("no TLE data available for object {0}"),
194 
195     /** NO_TLE_FOR_LAUNCH_YEAR_NUMBER_PIECE. */
196     NO_TLE_FOR_LAUNCH_YEAR_NUMBER_PIECE("no TLE data available for launch year {0}, launch number {1}, launch piece {2}"),
197 
198     /** NOT_TLE_LINES. */
199     NOT_TLE_LINES("lines {0} and {1} are not TLE lines:\n{0}: \"{2}\"\n{1}: \"{3}\""),
200 
201     /** MISSING_SECOND_TLE_LINE. */
202     MISSING_SECOND_TLE_LINE("expected a second TLE line after line {0}:\n{0}: \"{1}\""),
203 
204     /** TLE_LINES_DO_NOT_REFER_TO_SAME_OBJECT. */
205     TLE_LINES_DO_NOT_REFER_TO_SAME_OBJECT("TLE lines do not refer to the same object:\n{0}\n{1}"),
206 
207     /** TLE_INVALID_PARAMETER. */
208     TLE_INVALID_PARAMETER("invalid TLE parameter for object {0}: {1} = {2}"),
209 
210     /** TLE_CHECKSUM_ERROR. */
211     TLE_CHECKSUM_ERROR("wrong checksum of TLE line {0}, expected {1} but got {2} ({3})"),
212 
213     /** NO_TLE_DATA_AVAILABLE. */
214     NO_TLE_DATA_AVAILABLE("no TLE data available"),
215 
216     /** NOT_POSITIVE_SPACECRAFT_MASS. */
217     NOT_POSITIVE_SPACECRAFT_MASS("spacecraft mass is not positive: {0} kg"),
218 
219     /** TOO_LARGE_ECCENTRICITY_FOR_PROPAGATION_MODEL. */
220     TOO_LARGE_ECCENTRICITY_FOR_PROPAGATION_MODEL("too large eccentricity for propagation model: e = {0}"),
221 
222     /** NO_SOLAR_ACTIVITY_AT_DATE. */
223     NO_SOLAR_ACTIVITY_AT_DATE("no solar activity available at {0}, data available only in range [{1}, {2}]"),
224 
225     /** NON_EXISTENT_MONTH. */
226     NON_EXISTENT_MONTH("non-existent month {0}"),
227 
228     /** NON_EXISTENT_YEAR_MONTH_DAY. */
229     NON_EXISTENT_YEAR_MONTH_DAY("non-existent date {0}-{1}-{2}"),
230 
231     /** NON_EXISTENT_WEEK_DATE. */
232     NON_EXISTENT_WEEK_DATE("non-existent week date {0}-W{1}-{2}"),
233 
234     /** NON_EXISTENT_DATE. */
235     NON_EXISTENT_DATE("non-existent date {0}"),
236 
237     /** NON_EXISTENT_DAY_NUMBER_IN_YEAR. */
238     NON_EXISTENT_DAY_NUMBER_IN_YEAR("no day number {0} in year {1}"),
239 
240     /** NON_EXISTENT_HMS_TIME. */
241     NON_EXISTENT_HMS_TIME("non-existent time {0}:{1}:{2}"),
242 
243     /** NON_EXISTENT_TIME. */
244     NON_EXISTENT_TIME("non-existent time {0}"),
245 
246     /** OUT_OF_RANGE_SECONDS_NUMBER. */
247     OUT_OF_RANGE_SECONDS_NUMBER("out of range seconds number: {0}"),
248 
249     /** OUT_OF_RANGE_SECONDS_NUMBER_DETAIL. */
250     OUT_OF_RANGE_SECONDS_NUMBER_DETAIL("out of range seconds number: {0} is not in [{1}, {2}]"),
251 
252     /** ANGLE_TYPE_NOT_SUPPORTED. */
253     ANGLE_TYPE_NOT_SUPPORTED("angle type not supported, supported angles: {0}, {1} and {2}"),
254 
255     /** SATELLITE_COLLIDED_WITH_TARGET. */
256     SATELLITE_COLLIDED_WITH_TARGET("satellite collided with target"),
257 
258     /** ATTITUDE_POINTING_LAW_DOES_NOT_POINT_TO_GROUND. */
259     ATTITUDE_POINTING_LAW_DOES_NOT_POINT_TO_GROUND("attitude pointing law misses ground"),
260 
261     /** TOO_SHORT_TRANSITION_TIME_FOR_ATTITUDES_SWITCH. */
262     TOO_SHORT_TRANSITION_TIME_FOR_ATTITUDES_SWITCH("{0} seconds transition time for attitudes switch is too short, should be longer than {1} seconds"),
263 
264     /** ORBIT_AND_ATTITUDE_DATES_MISMATCH. */
265     ORBIT_AND_ATTITUDE_DATES_MISMATCH("orbit date ({0}) does not match attitude date ({1})"),
266 
267     /** FRAMES_MISMATCH. */
268     FRAMES_MISMATCH("frame {0} does not match frame {1}"),
269 
270     /** INITIAL_STATE_NOT_SPECIFIED_FOR_ORBIT_PROPAGATION. */
271     INITIAL_STATE_NOT_SPECIFIED_FOR_ORBIT_PROPAGATION("initial state not specified for orbit propagation"),
272 
273     /** EVENT_DATE_TOO_CLOSE. */
274     EVENT_DATE_TOO_CLOSE("target event date must be before {1} by {3,number,0.0##############E0} seconds or after {2} by {3,number,0.0##############E0} seconds, but target event date {0} is {4,number,0.0##############E0} seconds before {1} and {5,number,0.0##############E0} seconds after {2} so it cannot be added"),
275 
276     /** WRONG_COORDINATES_FOR_ADJOINT_EQUATION. */
277     WRONG_COORDINATES_FOR_ADJOINT_EQUATION("trying to propagate Cartesian adjoint whilst integration equations of motion with non-Cartesian coordinates"),
278 
279     /** UNABLE_TO_READ_JPL_HEADER. */
280     UNABLE_TO_READ_JPL_HEADER("unable to read header record from JPL ephemerides binary file {0}"),
281 
282     /** INCONSISTENT_ASTRONOMICAL_UNIT_IN_FILES. */
283     INCONSISTENT_ASTRONOMICAL_UNIT_IN_FILES("inconsistent values of astronomical unit in JPL ephemerides files: ({0} and {1})"),
284 
285     /** INCONSISTENT_EARTH_MOON_RATIO_IN_FILES. */
286     INCONSISTENT_EARTH_MOON_RATIO_IN_FILES("inconsistent values of Earth/Moon mass ratio in JPL ephemerides files: ({0} and {1})"),
287 
288     /** NO_DATA_LOADED_FOR_CELESTIAL_BODY. */
289     NO_DATA_LOADED_FOR_CELESTIAL_BODY("no data loaded for celestial body {0}"),
290 
291     /** NOT_A_JPL_EPHEMERIDES_BINARY_FILE. */
292     NOT_A_JPL_EPHEMERIDES_BINARY_FILE("file {0} is not a JPL ephemerides binary file"),
293 
294     /** NOT_A_MARSHALL_SOLAR_ACTIVITY_FUTURE_ESTIMATION_FILE. */
295     NOT_A_MARSHALL_SOLAR_ACTIVITY_FUTURE_ESTIMATION_FILE("file {0} is not a Marshall Solar Activity Future Estimation (MSAFE) file"),
296 
297     /** NO_JPL_EPHEMERIDES_BINARY_FILES_FOUND. */
298     NO_JPL_EPHEMERIDES_BINARY_FILES_FOUND("no JPL ephemerides binary files found"),
299 
300     /** OUT_OF_RANGE_BODY_EPHEMERIDES_DATE. */
301     OUT_OF_RANGE_BODY_EPHEMERIDES_DATE("out of range date for {0} ephemerides: {1}"),
302 
303     /** OUT_OF_RANGE_DATE. */
304     OUT_OF_RANGE_DATE("out of range date: {0}, [{1}, {2}]"),
305 
306     /** OUT_OF_RANGE_EPHEMERIDES_DATE_BEFORE. */
307     OUT_OF_RANGE_EPHEMERIDES_DATE_BEFORE("out of range date for ephemerides: {0} is {3,number,0.0##############E0} s before [{1}, {2}]"),
308 
309     /** OUT_OF_RANGE_EPHEMERIDES_DATE_AFTER. */
310     OUT_OF_RANGE_EPHEMERIDES_DATE_AFTER("out of range date for ephemerides: {0} is {3,number,0.0##############E0} s after [{1}, {2}]"),
311 
312     /** UNEXPECTED_TWO_ELEVATION_VALUES_FOR_ONE_AZIMUTH. */
313     UNEXPECTED_TWO_ELEVATION_VALUES_FOR_ONE_AZIMUTH("unexpected two elevation values: {0} and {1}, for one azimuth: {2}"),
314 
315     /** UNSUPPORTED_PARAMETER_NAME. */
316     UNSUPPORTED_PARAMETER_NAME("unsupported parameter name {0}, supported names: {1}"),
317 
318     /** PARAMETER_WITH_SEVERAL_ESTIMATED_VALUES. */
319     PARAMETER_WITH_SEVERAL_ESTIMATED_VALUES("{0} parameter contains several span in its value TimeSpanMap, the {1} method must be called"),
320 
321     /** PARAMETER_PERIODS_HAS_ALREADY_BEEN_SET. */
322     PARAMETER_PERIODS_HAS_ALREADY_BEEN_SET("setPeriod was already called once on {0} parameter, another parameter should be created if the periods have to be changed"),
323 
324     /** TOO_SMALL_SCALE_FOR_PARAMETER. */
325     TOO_SMALL_SCALE_FOR_PARAMETER("scale factor for parameter {0} is too small: {1}"),
326 
327     /** ADDITIONAL_STATE_BAD_TYPE. */
328     ADDITIONAL_STATE_BAD_TYPE("state \"{0}\" is not an array"),
329 
330     /** UNKNOWN_ADDITIONAL_DATA. */
331     UNKNOWN_ADDITIONAL_DATA("unknown additional data \"{0}\""),
332 
333     /** UNKNOWN_MONTH. */
334     UNKNOWN_MONTH("unknown month \"{0}\""),
335 
336     /** SINGULAR_JACOBIAN_FOR_ORBIT_TYPE. */
337     SINGULAR_JACOBIAN_FOR_ORBIT_TYPE("Jacobian matrix for type {0} is singular with current orbit"),
338 
339     /** STATE_JACOBIAN_NOT_INITIALIZED. */
340     STATE_JACOBIAN_NOT_INITIALIZED("state Jacobian has not been initialized yet"),
341 
342     /** STATE_JACOBIAN_NOT_6X6. */
343     STATE_JACOBIAN_NOT_6X6("state Jacobian is a {0}x{1} matrix, it should be a 6x6 matrix"),
344 
345     /** STATE_AND_PARAMETERS_JACOBIANS_ROWS_MISMATCH. */
346     STATE_AND_PARAMETERS_JACOBIANS_ROWS_MISMATCH("state Jacobian has {0} rows but parameters Jacobian has {1} rows"),
347 
348     /** INITIAL_MATRIX_AND_PARAMETERS_NUMBER_MISMATCH. */
349     INITIAL_MATRIX_AND_PARAMETERS_NUMBER_MISMATCH("initial Jacobian matrix has {0} columns, but {1} parameters have been selected"),
350 
351     /** ORBIT_A_E_MISMATCH_WITH_CONIC_TYPE. */
352     ORBIT_A_E_MISMATCH_WITH_CONIC_TYPE("orbit should be either elliptic with a > 0 and e < 1 or hyperbolic with a < 0 and e > 1, a = {0}, e = {1}"),
353 
354     /** ORBIT_ANOMALY_OUT_OF_HYPERBOLIC_RANGE. */
355     ORBIT_ANOMALY_OUT_OF_HYPERBOLIC_RANGE("true anomaly {0} out of hyperbolic range (e = {1}, {2} < v < {3})"),
356 
357     /** HYPERBOLIC_ORBIT_NOT_HANDLED_AS. */
358     HYPERBOLIC_ORBIT_NOT_HANDLED_AS("hyperbolic orbits cannot be handled as {0} instances"),
359 
360     /** CCSDS_DATE_INVALID_PREAMBLE_FIELD. */
361     CCSDS_DATE_INVALID_PREAMBLE_FIELD("invalid preamble field in CCSDS date: {0}"),
362 
363     /** CCSDS_DATE_INVALID_LENGTH_TIME_FIELD. */
364     CCSDS_DATE_INVALID_LENGTH_TIME_FIELD("invalid time field length in CCSDS date: {0}, expected {1}"),
365 
366     /** CCSDS_DATE_MISSING_AGENCY_EPOCH. */
367     CCSDS_DATE_MISSING_AGENCY_EPOCH("missing agency epoch in CCSDS date"),
368 
369     /** CCSDS_MISSING_KEYWORD. */
370     CCSDS_MISSING_KEYWORD("missing mandatory key {0} in CCSDS file {1}"),
371 
372     /** CCSDS_KEYWORD_NOT_ALLOWED_IN_VERSION. */
373     CCSDS_KEYWORD_NOT_ALLOWED_IN_VERSION("key {0} is not allowed in format version {1}"),
374 
375     /** CCSDS_UNEXPECTED_KEYWORD. */
376     CCSDS_UNEXPECTED_KEYWORD("unexpected keyword in CCSDS line number {0} of file {1}:\n{2}"),
377 
378     /** CCSDS_UNKNOWN_GM. */
379     CCSDS_UNKNOWN_GM("the central body gravitational coefficient cannot be retrieved from the ODM"),
380 
381     /** CCSDS_UNKNOWN_SPACECRAFT_MASS. */
382     CCSDS_UNKNOWN_SPACECRAFT_MASS("there is no spacecraft mass associated with this ODM file"),
383 
384     /** CCSDS_UNKNOWN_CONVENTIONS. */
385     CCSDS_UNKNOWN_CONVENTIONS("no IERS conventions have been set before parsing"),
386 
387     /** CCSDS_INVALID_FRAME. */
388     CCSDS_INVALID_FRAME("frame {0} is not valid in this CCSDS file context"),
389 
390     /** CCSDS_DIFFERENT_LVLH_DEFINITION. */
391     CCSDS_DIFFERENT_LVLH_DEFINITION("this LVLH local orbital frame uses a different definition, please use LVLH_CCSDS instead"),
392 
393     /** CCSDS_INCONSISTENT_TIME_SYSTEMS. */
394     CCSDS_INCONSISTENT_TIME_SYSTEMS("inconsistent time systems: {0} ≠ {1}"),
395 
396     /** CCSDS_TIME_SYSTEM_NOT_IMPLEMENTED. */
397     CCSDS_TIME_SYSTEM_NOT_IMPLEMENTED("use of time system {0} in CCSDS files requires an additional ICD and is not implemented in Orekit"),
398 
399     /** CCSDS_TDM_KEYWORD_NOT_FOUND. */
400     CCSDS_TDM_KEYWORD_NOT_FOUND("No CCSDS TDM keyword was found at line {0} of file {1}:\n{2}"),
401 
402     /** CCSDS_TDM_MISSING_RANGE_UNITS_CONVERTER. */
403     CCSDS_TDM_MISSING_RANGE_UNITS_CONVERTER("no Range Units converter configured for parsing Tracking Data Message"),
404 
405     /** CCSDS_TIME_SYSTEM_NOT_READ_YET. */
406     CCSDS_TIME_SYSTEM_NOT_READ_YET("Time system should have already been set before line {0} of file {1}"),
407 
408     /** CCSDS_UNKNOWN_ATTITUDE_TYPE. */
409     CCSDS_UNKNOWN_ATTITUDE_TYPE("unknown attitude type {0}"),
410 
411     /** CCSDS_INCOMPLETE_DATA. */
412     CCSDS_INCOMPLETE_DATA("incomplete data"),
413 
414     /** CCSDS_INVALID_ROTATION_SEQUENCE. */
415     CCSDS_INVALID_ROTATION_SEQUENCE("invalid rotation sequence {0} at line {1} of file {2}"),
416 
417     /** CCSDS_UNSUPPORTED_ELEMENT_SET_TYPE. */
418     CCSDS_UNSUPPORTED_ELEMENT_SET_TYPE("element set type {0} ({1}) is not supported yet"),
419 
420     /** CCSDS_UNSUPPORTED_RETROGRADE_EQUINOCTIAL. */
421     CCSDS_UNSUPPORTED_RETROGRADE_EQUINOCTIAL("retrograde factor not supported in element set {0}"),
422 
423     /** CCSDS_MANEUVER_UNITS_WRONG_NB_COMPONENTS. */
424     CCSDS_MANEUVER_UNITS_WRONG_NB_COMPONENTS("wrong number of units for maneuver {0}"),
425 
426     /** CCSDS_MANEUVER_MISSING_TIME. */
427     CCSDS_MANEUVER_MISSING_TIME("missing time field for maneuver {0}"),
428 
429     /** CCSDS_INCONSISTENT_NUMBER_OF_ATTITUDE_STATES. */
430     CCSDS_INCONSISTENT_NUMBER_OF_ATTITUDE_STATES("attitude type {0} and rate type {1} calls for {2} states, got {3}"),
431 
432     /** CCSDS_INCOMPATIBLE_KEYS_BOTH_USED. */
433     CCSDS_INCOMPATIBLE_KEYS_BOTH_USED("incompatible keys {0} and {1} should not both be used"),
434 
435     /** CCSDS_SENSOR_INDEX_ALREADY_USED. */
436     CCSDS_SENSOR_INDEX_ALREADY_USED("sensor index {0} is already used"),
437 
438     /** CCSDS_MISSING_SENSOR_INDEX. */
439     CCSDS_MISSING_SENSOR_INDEX("missing sensor index {0}"),
440 
441     /** IIRV_MISSING_LINEBREAK_IN_FILE. */
442     IIRV_MISSING_LINEBREAK_IN_FILE("line break(s) missing after vector number {0} in {1}"),
443 
444     /** IIRV_INVALID_VECTOR_FORMAT. */
445     IIRV_INVALID_LINE_IN_VECTOR("line {0} in IIRV vector is not valid: \"{1}\""),
446 
447     /** IIRV_EXCEEDS_MAX_VECTORS. */
448     IIRV_EXCEEDS_MAX_VECTORS("cannot embed more than 1000 vectors in a single IIRV message file: got {0}. " +
449         "Consider splitting the data into multiple files"),
450 
451     /** IIRV_VALUE_TOO_LARGE. */
452     IIRV_VALUE_TOO_LARGE("numeric value \"{0}\" exceeds the maximum length of {1} for string representation"),
453 
454     /** IIRV_INVALID_TERM_VALUE. */
455     IIRV_INVALID_TERM_VALUE("invalid IIRV term value: {0}"),
456 
457     /** IIRV_TERM_CHANGES_WITHIN_FILE. */
458     IIRV_TERM_CHANGES_WITHIN_FILE("the \"{0}\" term cannot change within an IIRV message file"),
459 
460     /** IIRV_SEQUENCE_NUMBER_MUST_BE_INCREASING_BY_ONE. */
461     IIRV_SEQUENCE_NUMBER_MUST_BE_INCREASING_BY_ONE("IIRV sequence number must increase by 1 for each " +
462         "subsequent vector entry. At at line {0}, expected sequence number {1}+1, but found {2}"),
463 
464     /** IIRV_UNMAPPED_COORDINATE_SYSTEM. */
465     IIRV_UNMAPPED_COORDINATE_SYSTEM("IIRV coordinate system \"{0}\" ({1}) has not been mapped to an Orekit frame"),
466 
467     /** INCONSISTENT_NUMBER_OF_ELEMENTS. */
468     INCONSISTENT_NUMBER_OF_ELEMENTS("inconsistent number of elements: expected {0}, got {1}"),
469 
470     /** CANNOT_ESTIMATE_PRECESSION_WITHOUT_PROPER_DERIVATIVES. */
471     CANNOT_ESTIMATE_PRECESSION_WITHOUT_PROPER_DERIVATIVES("cannot estimate precession without proper derivatives"),
472 
473     /** ADDITIONAL_STATE_NAME_ALREADY_IN_USE. */
474     ADDITIONAL_STATE_NAME_ALREADY_IN_USE("name \"{0}\" is already used for an additional state"),
475 
476     /** NON_RESETABLE_STATE. */
477     NON_RESETABLE_STATE("reset state not allowed"),
478 
479     /** DSST_NEWCOMB_OPERATORS_COMPUTATION. */
480     DSST_NEWCOMB_OPERATORS_COMPUTATION("Cannot compute Newcomb operators for sigma > rho ({0} > {1})"),
481 
482     /** DSST_VMNS_COEFFICIENT_ERROR_MS. */
483     DSST_VMNS_COEFFICIENT_ERROR_MS("Cannot compute the Vmns coefficient with m > n ({0} > {1})"),
484 
485     /** DSST_SPR_SHADOW_INCONSISTENT. */
486     DSST_SPR_SHADOW_INCONSISTENT("inconsistent shadow computation: entry = {0} whereas exit = {1}"),
487 
488     /** DSST_ECC_NO_NUMERICAL_AVERAGING_METHOD. */
489     DSST_ECC_NO_NUMERICAL_AVERAGING_METHOD("The current orbit has an eccentricity ({0} > 0.5). DSST needs an unimplemented time dependent numerical method to compute the averaged rates"),
490 
491     /** SP3_UNSUPPORTED_VERSION. */
492     SP3_UNSUPPORTED_VERSION("unsupported sp3 file version \"{0}\""),
493 
494     /** SP3_INVALID_HEADER_ENTRY. */
495     SP3_INVALID_HEADER_ENTRY("invalid header entry {0} \"{1}\" in file {2} (format version {3})"),
496 
497     /** SP3_TOO_MANY_SATELLITES_FOR_VERSION. */
498     SP3_TOO_MANY_SATELLITES_FOR_VERSION("version \"{0}\" supports only up to {1} satellites, found {2} in file {3}"),
499 
500     /** SP3_NUMBER_OF_EPOCH_MISMATCH. */
501     SP3_NUMBER_OF_EPOCH_MISMATCH("found {0} epochs in file {1}, expected {2}"),
502 
503     /** SP3_INCOMPATIBLE_FILE_METADATA. */
504     SP3_INCOMPATIBLE_FILE_METADATA("cannot splice sp3 files with incompatible metadata"),
505 
506     /** SP3_INCOMPATIBLE_SATELLITE_MEDATADA. */
507     SP3_INCOMPATIBLE_SATELLITE_MEDATADA("cannot splice sp3 files with incompatible satellite metadata for satellite {0}"),
508 
509     /** FRAME_NOT_ALLOWED.
510      * @since 12.1
511      */
512     FRAME_NOT_ALLOWED("frame {0} not allowed here"),
513 
514     /** STK_INVALID_OR_UNSUPPORTED_COORDINATE_SYSTEM. */
515     STK_INVALID_OR_UNSUPPORTED_COORDINATE_SYSTEM("STK coordinate system \"{0}\" is invalid or not yet supported"),
516 
517     /** STK_UNMAPPED_COORDINATE_SYSTEM. */
518     STK_UNMAPPED_COORDINATE_SYSTEM("STK coordinate system \"{0}\" has not been mapped to an Orekit frame"),
519 
520     /** STK_UNEXPECTED_END_OF_FILE. */
521     STK_UNEXPECTED_END_OF_FILE("unexpected end of STK file (after line {0})"),
522 
523     /** CLOCK_FILE_UNSUPPORTED_VERSION. */
524     CLOCK_FILE_UNSUPPORTED_VERSION("unsupported clock file version {0}"),
525 
526     /** UNSUPPORTED_FILE_FORMAT_VERSION. */
527     UNSUPPORTED_FILE_FORMAT_VERSION("version {0} from file {1} is not supported, supported version: {2}"),
528 
529     /** NON_EXISTENT_GEOMAGNETIC_MODEL. */
530     NON_EXISTENT_GEOMAGNETIC_MODEL("non-existent geomagnetic model {0} for year {1}"),
531 
532     /** UNSUPPORTED_TIME_TRANSFORM. */
533     UNSUPPORTED_TIME_TRANSFORM("geomagnetic model {0} with epoch {1} does not support time transformation, no secular variation coefficients defined"),
534 
535     /** OUT_OF_RANGE_TIME_TRANSFORM. */
536     OUT_OF_RANGE_TIME_TRANSFORM("time transformation of geomagnetic model {0} with epoch {1} is outside its validity range: {2} != [{3}, {4}]"),
537 
538     /** NOT_ENOUGH_DATA. */
539     NOT_ENOUGH_DATA("not enough data (sample size = {0})"),
540 
541     /** NOT_ENOUGH_CACHED_NEIGHBORS. */
542     NOT_ENOUGH_CACHED_NEIGHBORS("too small number of cached neighbors: {0} (must be at least {1})"),
543 
544     /** NO_CACHED_ENTRIES. */
545     NO_CACHED_ENTRIES("no cached entries"),
546 
547     /** NON_CHRONOLOGICALLY_SORTED_ENTRIES. */
548     NON_CHRONOLOGICALLY_SORTED_ENTRIES("generated entries not sorted: {0} > {1} by {2,number,0.0##############E0} s"),
549 
550     /** TRANSITION_DATES_COLLISION. */
551     TRANSITION_DATES_COLLISION("moving transition date from {0} to {1} collides with existing transition at {2}"),
552 
553     /** NO_DATA_GENERATED. */
554     NO_DATA_GENERATED("no data generated around date: {0}"),
555 
556     /** UNABLE_TO_GENERATE_NEW_DATA_BEFORE. */
557     UNABLE_TO_GENERATE_NEW_DATA_BEFORE("unable to generate new data before {0}, but data is requested for {1} which is {2,number,0.0##############E0} s before"),
558 
559     /** UNABLE_TO_GENERATE_NEW_DATA_AFTER. */
560     UNABLE_TO_GENERATE_NEW_DATA_AFTER("unable to generate new data after {0}, but data is requested for {1} which is {2,number,0.0##############E0} s after"),
561 
562     /** UNABLE_TO_COMPUTE_HYPERBOLIC_ECCENTRIC_ANOMALY. */
563     UNABLE_TO_COMPUTE_HYPERBOLIC_ECCENTRIC_ANOMALY("unable to compute hyperbolic eccentric anomaly from the mean anomaly after {0} iterations"),
564 
565     /** UNABLE_TO_COMPUTE_ECCENTRIC_LONGITUDE_ARGUMENT. */
566     UNABLE_TO_COMPUTE_ECCENTRIC_LONGITUDE_ARGUMENT("unable to compute eccentric longitude argument from the mean one after {0} iterations"),
567 
568     /** UNABLE_TO_COMPUTE_ECCENTRIC_LATITUDE_ARGUMENT. */
569     UNABLE_TO_COMPUTE_ECCENTRIC_LATITUDE_ARGUMENT("unable to compute eccentric latitude argument from the mean one after {0} iterations"),
570 
571     /** UNABLE_TO_COMPUTE_DSST_MEAN_PARAMETERS. */
572     UNABLE_TO_COMPUTE_DSST_MEAN_PARAMETERS("unable to compute mean orbit from osculating orbit after {0} iterations"),
573 
574     /** OUT_OF_RANGE_DERIVATION_ORDER. */
575     OUT_OF_RANGE_DERIVATION_ORDER("derivation order {0} is out of range"),
576 
577     /** ORBIT_TYPE_NOT_ALLOWED. */
578     ORBIT_TYPE_NOT_ALLOWED("orbit type {0} not allowed here, allowed types: {1}"),
579 
580     /** NON_PSEUDO_INERTIAL_FRAME_NOT_SUITABLE_AS_REFERENCE_FOR_INERTIAL_FORCES. */
581     NON_PSEUDO_INERTIAL_FRAME_NOT_SUITABLE_AS_REFERENCE_FOR_INERTIAL_FORCES("non pseudo-inertial frame {0} is not suitable as reference for inertial forces"),
582 
583     /** METHOD_NOT_AVAILABLE_WITHOUT_CENTRAL_BODY. */
584     METHOD_NOT_AVAILABLE_WITHOUT_CENTRAL_BODY("method not available in the absence of a central body"),
585 
586     /** INCOMPATIBLE_FRAMES. */
587     INCOMPATIBLE_FRAMES("operation not available between frames {0} and {1}"),
588 
589     /** UNDEFINED_ORBIT. */
590     UNDEFINED_ORBIT("orbit not defined, state rather contains an absolute position-velocity-acceleration"),
591 
592     /** UNDEFINED_ABSOLUTE_PVCOORDINATES. */
593     UNDEFINED_ABSOLUTE_PVCOORDINATES("absolute position-velocity-acceleration not defined, state rather contains an orbit"),
594 
595     /** INERTIAL_FORCE_MODEL_MISSING. */
596     INERTIAL_FORCE_MODEL_MISSING("an inertial force model has to be used when propagating in non-inertial frame {0}"),
597 
598     /** NO_SEM_ALMANAC_AVAILABLE. */
599     NO_SEM_ALMANAC_AVAILABLE("no SEM almanac file found"),
600 
601     /** NOT_A_SUPPORTED_SEM_ALMANAC_FILE. */
602     NOT_A_SUPPORTED_SEM_ALMANAC_FILE("file {0} is not a supported SEM almanac file"),
603 
604     /** NO_YUMA_ALMANAC_AVAILABLE. */
605     NO_YUMA_ALMANAC_AVAILABLE("no Yuma almanac file found"),
606 
607     /** NOT_A_SUPPORTED_YUMA_ALMANAC_FILE. */
608     NOT_A_SUPPORTED_YUMA_ALMANAC_FILE("file {0} is not a supported Yuma almanac file"),
609 
610     /** NOT_ENOUGH_GNSS_FOR_DOP. */
611     NOT_ENOUGH_GNSS_FOR_DOP("only {0} GNSS orbits are provided while {1} are needed to compute the DOP"),
612 
613     /** NOT_ENOUGH_PROPAGATORS. */
614     NOT_ENOUGH_PROPAGATORS("Creating an aggregate propagator requires at least one constituent propagator, but none were provided."),
615 
616     /** NOT_ENOUGH_ATTITUDE_PROVIDERS. */
617     NOT_ENOUGH_ATTITUDE_PROVIDERS("Creating an aggregate attitude provider requires at least one constituent attitude provider, but none were provided."),
618 
619     /** NULL_ARGUMENT. */
620     NULL_ARGUMENT("argument {0} cannot be null"),
621 
622     /** VALUE_NOT_FOUND. */
623     VALUE_NOT_FOUND("value {0} not found in {1}"),
624 
625     /** KLOBUCHAR_ALPHA_BETA_NOT_LOADED. */
626     KLOBUCHAR_ALPHA_BETA_NOT_LOADED("Klobuchar coefficients α or β could not be loaded from {0}"),
627 
628     /** KLOBUCHAR_ALPHA_BETA_NOT_AVAILABLE_FOR_DATE. */
629     KLOBUCHAR_ALPHA_BETA_NOT_AVAILABLE_FOR_DATE("Klobuchar coefficients α or β not available for date {0}"),
630 
631     /** NO_KLOBUCHAR_ALPHA_BETA_IN_FILE. */
632     NO_KLOBUCHAR_ALPHA_BETA_IN_FILE("file {0} does not contain Klobuchar coefficients α or β"),
633 
634     /** NO_REFERENCE_DATE_FOR_PARAMETER. */
635     NO_REFERENCE_DATE_FOR_PARAMETER("no reference date set for parameter {0}"),
636 
637     /** STATION_NOT_FOUND. */
638     STATION_NOT_FOUND("station {0} not found, known stations: {1}"),
639 
640     /** UNKNOWN_SATELLITE_SYSTEM. */
641     UNKNOWN_SATELLITE_SYSTEM("unknown satellite system {0}"),
642 
643     /** UNKNOWN_TIME_SYSTEM. */
644     UNKNOWN_TIME_SYSTEM("unknown time system {0}"),
645 
646     /** UNKNOWN_UTC_ID. */
647     UNKNOWN_UTC_ID("unknown UTC Id {0}"),
648 
649     /** UNKNOWN_CLOCK_DATA_TYPE. */
650     UNKNOWN_CLOCK_DATA_TYPE("unknown clock data type {0}"),
651 
652     /** UNKNOWN_SATELLITE_ANTENNA_CODE. */
653     UNKNOWN_SATELLITE_ANTENNA_CODE("unknown satellite antenna code {0}"),
654 
655     /** UNKNOWN_GNSS_ANTENNA. */
656     UNKNOWN_GNSS_ANTENNA("unknown GNSS antenna, name: {0}, radome code: {1}, serial number: {2}"),
657 
658     /** UNKNOWN_GNSS_FREQUENCY. */
659     UNKNOWN_GNSS_FREQUENCY("unknown GNSS frequency, system: {0}, frequency code: {1} (line {2}, file {3})"),
660 
661     /** UNSUPPORTED_FREQUENCY_FOR_ANTENNA. */
662     UNSUPPORTED_FREQUENCY_FOR_ANTENNA("frequency {0} is not supported by antenna {1}"),
663 
664     /** CANNOT_FIND_SATELLITE_IN_SYSTEM. */
665     CANNOT_FIND_SATELLITE_IN_SYSTEM("cannot find satellite {0} in satellite system {1}"),
666 
667     /** UNKNOWN_RINEX_FREQUENCY. */
668     UNKNOWN_RINEX_FREQUENCY("unknown RINEX frequency {0} in file {1}, line {2}"),
669 
670     /** MISMATCHED_FREQUENCIES. */
671     MISMATCHED_FREQUENCIES("mismatched frequencies in file {0}, line {1} (expected {2}, got {3})"),
672 
673     /** WRONG_PARSING_TYPE. */
674     WRONG_PARSING_TYPE("wrong parsing type for file {0}"),
675 
676     /** WRONG_COLUMNS_NUMBER. */
677     WRONG_COLUMNS_NUMBER("wrong number of columns in file {0}, line {1} (expected {2} columns, got {3} columns)"),
678 
679     /** UNSUPPORTED_FILE_FORMAT. */
680     UNSUPPORTED_FILE_FORMAT("unsupported format for file {0}"),
681 
682     /** INCOMPLETE_HEADER. */
683     INCOMPLETE_HEADER("incomplete header in file {0}"),
684 
685     /** INCONSISTENT_NUMBER_OF_SATS. */
686     INCONSISTENT_NUMBER_OF_SATS("inconsistent number of satellites in line {0}, file {1}: observation with {2} satellites and number of max satellites is {3}"),
687 
688     /** INCONSISTENT_SATELLITE_SYSTEM. */
689     INCONSISTENT_SATELLITE_SYSTEM("the satellite system {3} from line {0}, file {1} is not consistent with the Rinex Satellite System {2} in header"),
690 
691     /** NO_PROPAGATOR_CONFIGURED. */
692     NO_PROPAGATOR_CONFIGURED("no propagator configured"),
693 
694     /** DIMENSION_INCONSISTENT_WITH_PARAMETERS. */
695     DIMENSION_INCONSISTENT_WITH_PARAMETERS("dimension {0} is inconsistent with parameters list: {1}"),
696 
697     /** NOT_A_SUPPORTED_UNIX_COMPRESSED_FILE. */
698     NOT_A_SUPPORTED_UNIX_COMPRESSED_FILE("file {0} is not a supported Unix-compressed file"),
699 
700     /** UNEXPECTED_END_OF_FILE. */
701     UNEXPECTED_END_OF_FILE("unexpected end of file {0}"),
702 
703     /** CORRUPTED_FILE. */
704     CORRUPTED_FILE("file {0} is corrupted"),
705 
706     /** VIENNA_ACOEF_OR_ZENITH_DELAY_NOT_LOADED. */
707     VIENNA_ACOEF_OR_ZENITH_DELAY_NOT_LOADED("Vienna coefficients ah or aw or zh or zw could not be loaded from {0}"),
708 
709     /** VIENNA_ACOEF_OR_ZENITH_DELAY_NOT_AVAILABLE_FOR_DATE. */
710     VIENNA_ACOEF_OR_ZENITH_DELAY_NOT_AVAILABLE_FOR_DATE("Vienna coefficients ah or aw or zh or zw not available for date {0}"),
711 
712     /** NO_VIENNA_ACOEF_OR_ZENITH_DELAY_IN_FILE. */
713     NO_VIENNA_ACOEF_OR_ZENITH_DELAY_IN_FILE("file {0} does not contain Vienna coefficients ah, aw, zh or zw"),
714 
715     /** IRREGULAR_OR_INCOMPLETE_GRID. */
716     IRREGULAR_OR_INCOMPLETE_GRID("irregular or incomplete grid in file {0}"),
717 
718     /** INVALID_SATELLITE_SYSTEM. */
719     INVALID_SATELLITE_SYSTEM("invalid satellite system {0}"),
720 
721     /** NO_TEC_DATA_IN_FILES_FOR_DATE. */
722     NO_TEC_DATA_IN_FILES_FOR_DATE("IONEX files {0} does not contain TEC data for date {1}"),
723 
724     /** INCONSISTENT_NUMBER_OF_TEC_MAPS_IN_FILE. */
725     INCONSISTENT_NUMBER_OF_TEC_MAPS_IN_FILE("number of maps {0} is inconsistent with header specification: {1}"),
726 
727     /** NO_LATITUDE_LONGITUDE_BOUNDARIES_IN_IONEX_HEADER. */
728     NO_LATITUDE_LONGITUDE_BOUNDARIES_IN_IONEX_HEADER("file {0} does not contain latitude or longitude boundaries in its header section"),
729 
730     /** NO_EPOCH_IN_IONEX_HEADER. */
731     NO_EPOCH_IN_IONEX_HEADER("file {0} does not contain epoch of first or last map in its header section"),
732 
733     /** ITRF_VERSIONS_PREFIX_ONLY. */
734     ITRF_VERSIONS_PREFIX_ONLY("The first column of itrf-versions.conf is a plain prefix that is matched against the name of each loaded file. It should not contain any regular expression syntax or directory components, i.e. \"/\" or \"\\\". Actual value: \"{0}\"."),
735 
736     /** CANNOT_COMPUTE_AIMING_AT_SINGULAR_POINT. */
737     CANNOT_COMPUTE_AIMING_AT_SINGULAR_POINT("cannot compute aiming direction at singular point: latitude = {0}, longitude = {1}"),
738 
739     /** STEC_INTEGRATION_DID_NOT_CONVERGE. */
740     STEC_INTEGRATION_DID_NOT_CONVERGE("STEC integration did not converge"),
741 
742     /** MODIP_GRID_NOT_LOADED. */
743     MODIP_GRID_NOT_LOADED("MODIP grid not be loaded from {0}"),
744 
745     /** NEQUICK_F2_FM3_NOT_LOADED. */
746     NEQUICK_F2_FM3_NOT_LOADED("NeQuick coefficient f2 or fm3 not be loaded from {0}"),
747 
748     /** NOT_A_SUPPORTED_HATANAKA_COMPRESSED_FILE. */
749     NOT_A_SUPPORTED_HATANAKA_COMPRESSED_FILE("file {0} is not a supported Hatanaka-compressed file"),
750 
751     /** CANNOT_COMPUTE_LAGRANGIAN. */
752     CANNOT_COMPUTE_LAGRANGIAN("Cannot compute around {0}"),
753 
754     /** TRAJECTORY_NOT_CROSSING_XZPLANE. */
755     TRAJECTORY_NOT_CROSSING_XZPLANE("The trajectory does not cross XZ Plane, it will not result in a Halo Orbit"),
756 
757     /** MULTIPLE_SHOOTING_UNDERCONSTRAINED. */
758     MULTIPLE_SHOOTING_UNDERCONSTRAINED("The multiple shooting problem is underconstrained : {0} free variables, {1} constraints"),
759 
760     /** INVALID_MEASUREMENT_TYPES_FOR_COMBINATION_OF_MEASUREMENTS. */
761     INVALID_MEASUREMENT_TYPES_FOR_COMBINATION_OF_MEASUREMENTS("invalid measurement types {0} and {1} for the combination of measurements {2}"),
762 
763     /** INCOMPATIBLE_FREQUENCIES_FOR_COMBINATION_OF_MEASUREMENTS. */
764     INCOMPATIBLE_FREQUENCIES_FOR_COMBINATION_OF_MEASUREMENTS("frequencies {0} and {1} are incompatibles for the {2} combination"),
765 
766     /** NON_CHRONOLOGICAL_DATES_FOR_OBSERVATIONS. */
767     NON_CHRONOLOGICAL_DATES_FOR_OBSERVATIONS("observations are not in chronological order: {0} is {2,number,0.0##############E0} s after {1}"),
768 
769     /** INCONSISTENT_SAMPLING_DATE. */
770     INCONSISTENT_SAMPLING_DATE("inconsistent sampling date: expected {0} but got {1}"),
771 
772     /** EXCEPTIONAL_DATA_CONTEXT. */
773     EXCEPTIONAL_DATA_CONTEXT("Use of the ExceptionalDataContext detected. This is typically used to detect developer errors."),
774 
775     /** NON_DIFFERENT_DATES_FOR_OBSERVATIONS. */
776     NON_DIFFERENT_DATES_FOR_OBSERVATIONS("Observations must have different dates: {0}, {1} ({3,number,0.0##############E0} s from first observation), and {2} ({4,number,0.0##############E0} s from first observation, {5,number,0.0##############E0} s from second observation)"),
777 
778     /** NON_COPLANAR_POINTS. */
779     NON_COPLANAR_POINTS("observations are not in the same plane"),
780 
781     /** INVALID_PARAMETER_RANGE. */
782     INVALID_PARAMETER_RANGE("invalid parameter {0}: {1} not in range [{2}, {3}]"),
783 
784     /** PARAMETER_NOT_SET. */
785     PARAMETER_NOT_SET("The parameter {0} should not be null in {1}"),
786 
787     /** FUNCTION_NOT_IMPLEMENTED. */
788     FUNCTION_NOT_IMPLEMENTED("{0} is not implemented"),
789 
790     /** INVALID_TYPE_FOR_FUNCTION. */
791     INVALID_TYPE_FOR_FUNCTION("Impossible to execute {0} with {1} set to {2}"),
792 
793     /** NO_DATA_IN_FILE. */
794     NO_DATA_IN_FILE("No data could be parsed from file {0}"),
795 
796     /** CPF_UNEXPECTED_END_OF_FILE. */
797     CPF_UNEXPECTED_END_OF_FILE("Unexpected end of CPF file (after line {0})"),
798 
799     /** UNEXPECTED_FORMAT_FOR_ILRS_FILE. */
800     UNEXPECTED_FORMAT_FOR_ILRS_FILE("Unexpected file format. Must be {0} but is {1}"),
801 
802     /** CRD_UNEXPECTED_END_OF_FILE. */
803     CRD_UNEXPECTED_END_OF_FILE("Unexpected end of CRD file (after line {0})"),
804 
805     /** INVALID_RANGE_INDICATOR_IN_CRD_FILE. */
806     INVALID_RANGE_INDICATOR_IN_CRD_FILE("Invalid range indicator {0} in CRD file header"),
807 
808     /** END_OF_ENCODED_MESSAGE. */
809     END_OF_ENCODED_MESSAGE("end of encoded message reached"),
810 
811     /** TOO_LARGE_DATA_TYPE. */
812     TOO_LARGE_DATA_TYPE("too large data type ({0} bits)"),
813 
814     /** UNKNOWN_ENCODED_MESSAGE_NUMBER. */
815     UNKNOWN_ENCODED_MESSAGE_NUMBER("unknown encoded message number {0}"),
816 
817     /** UNKNOWN_AUTHENTICATION_METHOD. */
818     UNKNOWN_AUTHENTICATION_METHOD("unknown authentication method: {0}"),
819 
820     /** UNKNOWN_CARRIER_PHASE_CODE. */
821     UNKNOWN_CARRIER_PHASE_CODE("unknown carrier phase code: {0}"),
822 
823     /** UNKNOWN_DATA_FORMAT. */
824     UNKNOWN_DATA_FORMAT("unknown data format: {0}"),
825 
826     /** UNKNOWN_NAVIGATION_SYSTEM. */
827     UNKNOWN_NAVIGATION_SYSTEM("unknown navigation system: {0}"),
828 
829     /** STREAM_REQUIRES_NMEA_FIX. */
830     STREAM_REQUIRES_NMEA_FIX("data stream {0} requires a NMEA fix data"),
831 
832     /** FAILED_AUTHENTICATION. */
833     FAILED_AUTHENTICATION("failed authentication for mountpoint {0}"),
834 
835     /** CONNECTION_ERROR. */
836     CONNECTION_ERROR("error connecting to {0}: {1}"),
837 
838     /** UNEXPECTED_CONTENT_TYPE. */
839     UNEXPECTED_CONTENT_TYPE("unexpected content type {0}"),
840 
841     /** CANNOT_PARSE_GNSS_DATA. */
842     CANNOT_PARSE_GNSS_DATA("cannot parse GNSS data from {0}"),
843 
844     /** INVALID_GNSS_DATA. */
845     INVALID_GNSS_DATA("invalid GNSS data: {0}"),
846 
847     /** GNSS_PARITY_ERROR. */
848     GNSS_PARITY_ERROR("GNSS parity error on word {0}"),
849 
850     /** UNKNOWN_HOST. */
851     UNKNOWN_HOST("unknown host {0}"),
852 
853     /** SOURCETABLE_PARSE_ERROR. */
854     SOURCETABLE_PARSE_ERROR("error parsing sourcetable line {0} from {1}: {2}"),
855 
856     /** CANNOT_PARSE_SOURCETABLE. */
857     CANNOT_PARSE_SOURCETABLE("cannot parse sourcetable from {0}"),
858 
859     /** MOUNPOINT_ALREADY_CONNECTED. */
860     MOUNPOINT_ALREADY_CONNECTED("mount point {0} is already connected"),
861 
862     /** MISSING_HEADER. */
863     MISSING_HEADER("missing header from {0}: {1}"),
864 
865     /** NOT_VALID_INTERNATIONAL_DESIGNATOR. */
866     NOT_VALID_INTERNATIONAL_DESIGNATOR("{0} is not a valid international designator"),
867 
868     /** UNINITIALIZED_VALUE_FOR_KEY. */
869     UNINITIALIZED_VALUE_FOR_KEY("value for key {0} has not been initialized"),
870 
871     /** UNKNOWN_UNIT. */
872     UNKNOWN_UNIT("unknown unit {0}"),
873 
874     /** INCOMPATIBLE_UNITS. */
875     INCOMPATIBLE_UNITS("units {0} and {1} are not compatible"),
876 
877     /** MISSING_VELOCITY. */
878     MISSING_VELOCITY("missing velocity data"),
879 
880     /** ATTEMPT_TO_GENERATE_MALFORMED_FILE. */
881     ATTEMPT_TO_GENERATE_MALFORMED_FILE("attempt to generate file {0} with a formatting error"),
882 
883     /** FIND_ROOT. */
884     FIND_ROOT("{0} failed to find root between {1} (g={2,number,0.0##############E0}) and {3} (g={4,number,0.0##############E0})\nLast iteration at {5} (g={6,number,0.0##############E0})"),
885 
886     /** MISSING_STATION_DATA_FOR_EPOCH. */
887     MISSING_STATION_DATA_FOR_EPOCH("missing station data for epoch {0}"),
888 
889     /** INCONSISTENT_SELECTION. */
890     INCONSISTENT_SELECTION("inconsistent parameters selection between pairs {0}/{1} and {2}/{3}"),
891 
892     /** NO_UNSCENTED_TRANSFORM_CONFIGURED. */
893     NO_UNSCENTED_TRANSFORM_CONFIGURED("no unscented transform configured"),
894 
895     /** NOT_STRICTLY_POSITIVE. */
896     NOT_STRICTLY_POSITIVE("value is not strictly positive: {0}"),
897 
898     /** NOT_POSITIVE. */
899     NOT_POSITIVE("value is not positive: {0}"),
900 
901     /** UNSUPPORTED_TRANSFORM. */
902     UNSUPPORTED_TRANSFORM("transform from {0} to {1} is not implemented"),
903 
904     /** WRONG_ORBIT_PARAMETERS_TYPE. */
905     WRONG_ORBIT_PARAMETERS_TYPE("orbital parameters type: {0} is different from expected orbital type : {1}"),
906 
907     /** WRONG_NB_COMPONENTS. */
908     WRONG_NB_COMPONENTS("{0} expects {1} elements, got {2}"),
909 
910     /** CANNOT_CHANGE_COVARIANCE_TYPE_IF_DEFINED_IN_LOF. */
911     CANNOT_CHANGE_COVARIANCE_TYPE_IF_DEFINED_IN_LOF("cannot change covariance type if defined in a local orbital frame"),
912 
913     /** CANNOT_CHANGE_COVARIANCE_TYPE_IF_DEFINED_IN_NON_INERTIAL_FRAME. */
914     CANNOT_CHANGE_COVARIANCE_TYPE_IF_DEFINED_IN_NON_INERTIAL_FRAME("cannot change covariance type if defined in a non pseudo-inertial reference frame"),
915 
916     /** DIFFERENT_TIME_OF_CLOSEST_APPROACH. */
917     DIFFERENT_TIME_OF_CLOSEST_APPROACH("primary collision object time of closest approach is different from the secondary collision object's one"),
918 
919     /** DATES_MISMATCH. */
920     DATES_MISMATCH("first date {0} does not match second date {1}"),
921 
922     /** WRONG ELEMENTS FOR AVERAGING THEORY. */
923     WRONG_ELEMENTS_FOR_AVERAGING_THEORY("unexpected type of orbital elements for required averaging theory"),
924 
925     /** ORBITS_MUS_MISMATCH. */
926     ORBITS_MUS_MISMATCH("first orbit mu {0} does not match second orbit mu {1}"),
927 
928     /** DIFFERENT_STATE_DEFINITION. */
929     DIFFERENT_STATE_DEFINITION("one state is defined using an orbit while the other is defined using an absolute position-velocity-acceleration"),
930 
931     /** STATE_AND_COVARIANCE_DATES_MISMATCH. */
932     STATE_AND_COVARIANCE_DATES_MISMATCH("state date {0} does not match its covariance date {1}"),
933 
934     /** NO_INTERPOLATOR_FOR_STATE_DEFINITION. */
935     NO_INTERPOLATOR_FOR_STATE_DEFINITION("creating a spacecraft state interpolator requires at least one orbit interpolator or an absolute position-velocity-acceleration interpolator"),
936 
937     /** WRONG_INTERPOLATOR_DEFINED_FOR_STATE_INTERPOLATION. */
938     WRONG_INTERPOLATOR_DEFINED_FOR_STATE_INTERPOLATION("wrong interpolator defined for this spacecraft state type (orbit or absolute PV)"),
939 
940     /** MULTIPLE_INTERPOLATOR_USED. */
941     MULTIPLE_INTERPOLATOR_USED("multiple interpolators are used so they may use different numbers of interpolation points"),
942 
943     /** HEADER_NOT_WRITTEN. */
944     HEADER_NOT_WRITTEN("header for file {0} has not been written yet"),
945 
946     /** HEADER_ALREADY_WRITTEN. */
947     HEADER_ALREADY_WRITTEN("header for file {0} has already been written"),
948 
949     /** CANNOT_START_PROPAGATION_FROM_INFINITY. */
950     CANNOT_START_PROPAGATION_FROM_INFINITY("Cannot start the propagation from an infinitely far date"),
951 
952     /** TOO_LONG_TIME_GAP_BETWEEN_DATA_POINTS. */
953     TOO_LONG_TIME_GAP_BETWEEN_DATA_POINTS("Too long time gap between data points: {0} s"),
954 
955     /** INVALID_SATELLITE_ID. */
956     INVALID_SATELLITE_ID("invalid satellite id {0}"),
957 
958     /** WRONG_EOP_INTERPOLATION_DEGREE. */
959     WRONG_EOP_INTERPOLATION_DEGREE("EOP interpolation degree must be of the form 4k-1, got {0}"),
960 
961     /** WALKER_INCONSISTENT_PLANES. */
962     WALKER_INCONSISTENT_PLANES("number of planes {0} is inconsistent with number of satellites {1} in Walker constellation"),
963 
964     /** INFINITE_NRMSISE00_DENSITY. */
965     INFINITE_NRLMSISE00_DENSITY("Infinite value appears during computation of atmospheric density in NRLMSISE00 model"),
966 
967     /** FIELD_TOO_LONG. */
968     FIELD_TOO_LONG("field \"{0}\" is too long, maximum length is {1} characters"),
969 
970     /** PROPAGATOR_BUILDER_NOT_CLONEABLE. */
971     PROPAGATOR_BUILDER_NOT_CLONEABLE("Propagator builder cannot be cloned"),
972 
973     /** WRONG_PROCESS_COVARIANCE_DIMENSION. */
974     WRONG_PROCESS_COVARIANCE_DIMENSION("Process covariance expecting dimension {0}, got {1}"),
975 
976     /** WRONG_MEASUREMENT_COVARIANCE_DIMENSION. */
977     WRONG_MEASUREMENT_COVARIANCE_DIMENSION("Measurement covariance expecting dimension {0}, got {1}"),
978 
979     /** CANNOT_PARSE_DATA. */
980     CANNOT_PARSE_DATA("cannot parse data {0}"),
981 
982     /** COVARIANCE_MUST_BE_SQUARE. */
983     COVARIANCE_MUST_BE_SQUARE("covariance matrix is not square"),
984 
985     /** INCONSISTENT_STATE_DIMENSIONS. */
986     INCONSISTENT_STATE_DIMENSIONS("state vector (dimension {0}) and covariance (dimension {1}) are inconsistent");
987 
988 
989     /** Base name of the resource bundle in classpath. */
990     private static final String RESOURCE_BASE_NAME = "assets/org/orekit/localization/OrekitMessages";
991 
992     /** Source English format. */
993     private final String sourceFormat;
994 
995     /**
996      * Simple constructor.
997      * @param sourceFormat source English format to use when no localized version is
998      *                     available
999      */
1000     OrekitMessages(final String sourceFormat) {
1001         this.sourceFormat = sourceFormat;
1002     }
1003 
1004     /** {@inheritDoc} */
1005     public String getSourceString() {
1006         return sourceFormat;
1007     }
1008 
1009     /** {@inheritDoc} */
1010     public String getLocalizedString(final Locale locale) {
1011         return getLocalizedString(RESOURCE_BASE_NAME, name(), locale);
1012     }
1013 
1014 }