|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<OrekitAddonsMessages> org.orekit.errors.OrekitAddonsMessages
public enum OrekitAddonsMessages
OREKIT-ADDONS enumeration for localized messages formats.
Almost identical to OrekitMessages. If orekit-addons code is moved to orekit, since the class OrekitAddonsMessages will be missing, it will be easy to find out new messages are needed in Orekit without disrupting orekit or orekit-addons too much. Replaces the former solution that was using a OrekitMessages class in Orekit-addons but in a different package (too confusing); OrekitAddonsMessages is way more explicit, therefore, better.
Enum Constant Summary | |
---|---|
ATTITUDE_LAW_ALREADY_IN_THE_SEQUENCE
Attitude law already in the sequence. |
|
ILLEGAL_LINE
The line has illegal parameters. |
|
MAIN_WAVE_MISSING
Main wave missing. |
|
NO_TRANSITION_DATE
The date is not a transition date of the attitude sequence. |
|
NOT_IMPLEMENTED
Not implemented yet. |
|
NULL_VECTOR
The vector's norm can't be zero. |
|
OUT_OF_RANGE_LATITUDE
out of range latitude : must be between -PI/2 and PI/2 |
|
UNABLE_TO_COMPUTE_GROUND_VELOCITY_DIRECTION
|
|
UNKNOWN_TRANSITION_PARAMETER
Unsupported transition points parameter name. |
|
ZERO_COSLAT_SURFACE
The cosine of latitude elementary surface is equal to zero |
Method Summary | |
---|---|
String |
getLocalizedString(Locale locale)
Gets the localized string. |
String |
getSourceString()
Gets the source (non-localized) string. |
static OrekitAddonsMessages |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static OrekitAddonsMessages[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final OrekitAddonsMessages ILLEGAL_LINE
public static final OrekitAddonsMessages NULL_VECTOR
public static final OrekitAddonsMessages OUT_OF_RANGE_LATITUDE
public static final OrekitAddonsMessages NO_TRANSITION_DATE
public static final OrekitAddonsMessages ZERO_COSLAT_SURFACE
public static final OrekitAddonsMessages UNKNOWN_TRANSITION_PARAMETER
public static final OrekitAddonsMessages NOT_IMPLEMENTED
public static final OrekitAddonsMessages MAIN_WAVE_MISSING
public static final OrekitAddonsMessages UNABLE_TO_COMPUTE_GROUND_VELOCITY_DIRECTION
public static final OrekitAddonsMessages ATTITUDE_LAW_ALREADY_IN_THE_SEQUENCE
Method Detail |
---|
public static OrekitAddonsMessages[] values()
for (OrekitAddonsMessages c : OrekitAddonsMessages.values()) System.out.println(c);
public static OrekitAddonsMessages valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getSourceString()
getSourceString
in interface Localizable
public String getLocalizedString(Locale locale)
getLocalizedString
in interface Localizable
locale
- locale into which to get the string.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |