Package org.orekit.rugged.errors
Enum RuggedMessages
- java.lang.Object
-
- java.lang.Enum<RuggedMessages>
-
- org.orekit.rugged.errors.RuggedMessages
-
- All Implemented Interfaces:
Serializable
,Comparable<RuggedMessages>
,Localizable
public enum RuggedMessages extends Enum<RuggedMessages> implements Localizable
Enumeration for localized messages formats.The constants in this enumeration represent the available formats as localized strings. These formats are intended to be localized using simple properties files, using the constant name as the key and the property value as the message format. The source English format is provided in the constants themselves to serve both as a reminder for developers to understand the parameters needed by each format, as a basis for translators to create localized properties files, and as a default format if some translation is missing.
This class is heavily based on
OrekitMessages
, which is distributed under the terms of the Apache License V2.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RuggedMessages.UTF8Control
Control class loading properties in UTF-8 encoding.
-
Enum Constant Summary
Enum Constants Enum Constant Description ABERRATION_OF_LIGHT_CORRECTION_REDEFINED
ABERRATION_OF_LIGHT_CORRECTION_REDEFINED.ATMOSPHERIC_REFRACTION_REDEFINED
ATMOSPHERIC_REFRACTION_REDEFINED.CANNOT_PARSE_LINE
CANNOT_PARSE_LINE.DEBUG_DUMP_ACTIVATION_ERROR
DEBUG_DUMP_ACTIVATION_ERROR.DEBUG_DUMP_ALREADY_ACTIVE
DEBUG_DUMP_ALREADY_ACTIVE.DEBUG_DUMP_NOT_ACTIVE
DEBUG_DUMP_NOT_ACTIVE.DEM_ENTRY_POINT_IS_BEHIND_SPACECRAFT
DEM_ENTRY_POINT_IS_BEHIND_SPACECRAFT.DUPLICATED_PARAMETER_NAME
DUPLICATED_PARAMETER_NAME.EMPTY_TILE
EMPTY_TILE.FRAMES_MISMATCH_WITH_INTERPOLATOR_DUMP
FRAMES_MISMATCH_WITH_INTERPOLATOR_DUMP.INTERNAL_ERROR
INTERNAL_ERROR.INVALID_RANGE_FOR_LINES
INVALID_RANGE_FOR_LINES.INVALID_RUGGED_NAME
INVALID_RUGGED_NAME.INVALID_STEP
INVALID_STEP.LIGHT_TIME_CORRECTION_REDEFINED
LIGHT_TIME_CORRECTION_REDEFINED.LINE_OF_SIGHT_DOES_NOT_REACH_GROUND
LINE_OF_SIGHT_DOES_NOT_REACH_GROUND.LINE_OF_SIGHT_NEVER_CROSSES_ALTITUDE
LINE_OF_SIGHT_NEVER_CROSSES_ALTITUDE.LINE_OF_SIGHT_NEVER_CROSSES_LATITUDE
LINE_OF_SIGHT_NEVER_CROSSES_LATITUDE.LINE_OF_SIGHT_NEVER_CROSSES_LONGITUDE
LINE_OF_SIGHT_NEVER_CROSSES_LONGITUDE.NO_DEM_DATA
NO_DEM_DATA.NO_LAYER_DATA
NO_LAYER_DATA.NO_PARAMETERS_SELECTED
NO_PARAMETERS_SELECTED.NO_REFERENCE_MAPPINGS
NO_REFERENCE_MAPPINGS.NOT_INTERPOLATOR_DUMP_DATA
NOT_INTERPOLATOR_DUMP_DATA.OUT_OF_TILE_ANGLES
OUT_OF_TILE_ANGLES.OUT_OF_TILE_INDICES
OUT_OF_TILE_INDICES.OUT_OF_TIME_RANGE
OUT_OF_TIME_RANGE.SENSOR_PIXEL_NOT_FOUND_IN_PIXELS_LINE
SENSOR_PIXEL_NOT_FOUND_IN_PIXELS_LINE.SENSOR_PIXEL_NOT_FOUND_IN_RANGE_LINES
SENSOR_PIXEL_NOT_FOUND_IN_RANGE_LINES.TILE_ALREADY_DEFINED
TILE_ALREADY_DEFINED.TILE_WITHOUT_REQUIRED_NEIGHBORS_SELECTED
TILE_WITHOUT_REQUIRED_NEIGHBORS_SELECTED.UNINITIALIZED_CONTEXT
UNINITIALIZED_CONTEXT.UNKNOWN_SENSOR
UNKNOWN_SENSOR.UNKNOWN_TILE
UNKNOWN_TILE.UNSUPPORTED_REFINING_CONTEXT
UNSUPPORTED_REFINING_CONTEXT.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLocalizedString(Locale locale)
String
getSourceString()
static RuggedMessages
valueOf(String name)
Returns the enum constant of this type with the specified name.static RuggedMessages[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTERNAL_ERROR
public static final RuggedMessages INTERNAL_ERROR
INTERNAL_ERROR.
-
OUT_OF_TILE_INDICES
public static final RuggedMessages OUT_OF_TILE_INDICES
OUT_OF_TILE_INDICES.
-
OUT_OF_TILE_ANGLES
public static final RuggedMessages OUT_OF_TILE_ANGLES
OUT_OF_TILE_ANGLES.
-
NO_DEM_DATA
public static final RuggedMessages NO_DEM_DATA
NO_DEM_DATA.
-
TILE_WITHOUT_REQUIRED_NEIGHBORS_SELECTED
public static final RuggedMessages TILE_WITHOUT_REQUIRED_NEIGHBORS_SELECTED
TILE_WITHOUT_REQUIRED_NEIGHBORS_SELECTED.
-
OUT_OF_TIME_RANGE
public static final RuggedMessages OUT_OF_TIME_RANGE
OUT_OF_TIME_RANGE.
-
UNINITIALIZED_CONTEXT
public static final RuggedMessages UNINITIALIZED_CONTEXT
UNINITIALIZED_CONTEXT.
-
EMPTY_TILE
public static final RuggedMessages EMPTY_TILE
EMPTY_TILE.
-
UNKNOWN_SENSOR
public static final RuggedMessages UNKNOWN_SENSOR
UNKNOWN_SENSOR.
-
LINE_OF_SIGHT_DOES_NOT_REACH_GROUND
public static final RuggedMessages LINE_OF_SIGHT_DOES_NOT_REACH_GROUND
LINE_OF_SIGHT_DOES_NOT_REACH_GROUND.
-
LINE_OF_SIGHT_NEVER_CROSSES_LATITUDE
public static final RuggedMessages LINE_OF_SIGHT_NEVER_CROSSES_LATITUDE
LINE_OF_SIGHT_NEVER_CROSSES_LATITUDE.
-
LINE_OF_SIGHT_NEVER_CROSSES_LONGITUDE
public static final RuggedMessages LINE_OF_SIGHT_NEVER_CROSSES_LONGITUDE
LINE_OF_SIGHT_NEVER_CROSSES_LONGITUDE.
-
LINE_OF_SIGHT_NEVER_CROSSES_ALTITUDE
public static final RuggedMessages LINE_OF_SIGHT_NEVER_CROSSES_ALTITUDE
LINE_OF_SIGHT_NEVER_CROSSES_ALTITUDE.
-
DEM_ENTRY_POINT_IS_BEHIND_SPACECRAFT
public static final RuggedMessages DEM_ENTRY_POINT_IS_BEHIND_SPACECRAFT
DEM_ENTRY_POINT_IS_BEHIND_SPACECRAFT.
-
FRAMES_MISMATCH_WITH_INTERPOLATOR_DUMP
public static final RuggedMessages FRAMES_MISMATCH_WITH_INTERPOLATOR_DUMP
FRAMES_MISMATCH_WITH_INTERPOLATOR_DUMP.
-
NOT_INTERPOLATOR_DUMP_DATA
public static final RuggedMessages NOT_INTERPOLATOR_DUMP_DATA
NOT_INTERPOLATOR_DUMP_DATA.
-
DEBUG_DUMP_ALREADY_ACTIVE
public static final RuggedMessages DEBUG_DUMP_ALREADY_ACTIVE
DEBUG_DUMP_ALREADY_ACTIVE.
-
DEBUG_DUMP_ACTIVATION_ERROR
public static final RuggedMessages DEBUG_DUMP_ACTIVATION_ERROR
DEBUG_DUMP_ACTIVATION_ERROR.
-
DEBUG_DUMP_NOT_ACTIVE
public static final RuggedMessages DEBUG_DUMP_NOT_ACTIVE
DEBUG_DUMP_NOT_ACTIVE.
-
CANNOT_PARSE_LINE
public static final RuggedMessages CANNOT_PARSE_LINE
CANNOT_PARSE_LINE.
-
LIGHT_TIME_CORRECTION_REDEFINED
public static final RuggedMessages LIGHT_TIME_CORRECTION_REDEFINED
LIGHT_TIME_CORRECTION_REDEFINED.
-
ABERRATION_OF_LIGHT_CORRECTION_REDEFINED
public static final RuggedMessages ABERRATION_OF_LIGHT_CORRECTION_REDEFINED
ABERRATION_OF_LIGHT_CORRECTION_REDEFINED.
-
ATMOSPHERIC_REFRACTION_REDEFINED
public static final RuggedMessages ATMOSPHERIC_REFRACTION_REDEFINED
ATMOSPHERIC_REFRACTION_REDEFINED.
-
TILE_ALREADY_DEFINED
public static final RuggedMessages TILE_ALREADY_DEFINED
TILE_ALREADY_DEFINED.
-
UNKNOWN_TILE
public static final RuggedMessages UNKNOWN_TILE
UNKNOWN_TILE.
-
NO_PARAMETERS_SELECTED
public static final RuggedMessages NO_PARAMETERS_SELECTED
NO_PARAMETERS_SELECTED.
-
NO_REFERENCE_MAPPINGS
public static final RuggedMessages NO_REFERENCE_MAPPINGS
NO_REFERENCE_MAPPINGS.
-
DUPLICATED_PARAMETER_NAME
public static final RuggedMessages DUPLICATED_PARAMETER_NAME
DUPLICATED_PARAMETER_NAME.
-
INVALID_RUGGED_NAME
public static final RuggedMessages INVALID_RUGGED_NAME
INVALID_RUGGED_NAME.
-
UNSUPPORTED_REFINING_CONTEXT
public static final RuggedMessages UNSUPPORTED_REFINING_CONTEXT
UNSUPPORTED_REFINING_CONTEXT.
-
NO_LAYER_DATA
public static final RuggedMessages NO_LAYER_DATA
NO_LAYER_DATA.
-
INVALID_STEP
public static final RuggedMessages INVALID_STEP
INVALID_STEP.
-
INVALID_RANGE_FOR_LINES
public static final RuggedMessages INVALID_RANGE_FOR_LINES
INVALID_RANGE_FOR_LINES.
-
SENSOR_PIXEL_NOT_FOUND_IN_RANGE_LINES
public static final RuggedMessages SENSOR_PIXEL_NOT_FOUND_IN_RANGE_LINES
SENSOR_PIXEL_NOT_FOUND_IN_RANGE_LINES.
-
SENSOR_PIXEL_NOT_FOUND_IN_PIXELS_LINE
public static final RuggedMessages SENSOR_PIXEL_NOT_FOUND_IN_PIXELS_LINE
SENSOR_PIXEL_NOT_FOUND_IN_PIXELS_LINE.
-
-
Method Detail
-
values
public static RuggedMessages[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RuggedMessages c : RuggedMessages.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RuggedMessages valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getSourceString
public String getSourceString()
- Specified by:
getSourceString
in interfaceLocalizable
-
getLocalizedString
public String getLocalizedString(Locale locale)
- Specified by:
getLocalizedString
in interfaceLocalizable
-
-